diff options
| author | klensy <klensy@users.noreply.github.com> | 2022-08-03 15:46:34 +0300 |
|---|---|---|
| committer | klensy <klensy@users.noreply.github.com> | 2022-08-03 15:46:34 +0300 |
| commit | 0548e8ed064623b5f5e72c79d7c9e4258f7cbc58 (patch) | |
| tree | 099a4e1cc96cb3b1dce3511892fb5f06c7cf003d /compiler/rustc_borrowck | |
| parent | e141246cbbce2a6001f3181d3d0f661bbfd9c7ea (diff) | |
| download | rust-0548e8ed064623b5f5e72c79d7c9e4258f7cbc58.tar.gz rust-0548e8ed064623b5f5e72c79d7c9e4258f7cbc58.zip | |
fix trailing whitespace in error message
Diffstat (limited to 'compiler/rustc_borrowck')
| -rw-r--r-- | compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs b/compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs index 5da260f980f..8c23756db33 100644 --- a/compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs +++ b/compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs @@ -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 ), )); |
