Rollup merge of #100107 - klensy:tr-w, r=compiler-errors

fix trailing whitespace in error message
This commit is contained in:
Matthias Krüger 2022-08-03 22:30:49 +02:00 committed by GitHub
commit 551224019b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -2736,7 +2736,7 @@ impl<'b, 'v> Visitor<'v> for ConditionVisitor<'b> {
self.errors.push((
e.span,
format!(
"if the `for` loop runs 0 times, {} is not initialized ",
"if the `for` loop runs 0 times, {} is not initialized",
self.name
),
));