about summary refs log tree commit diff
path: root/compiler/rustc_borrowck
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2022-08-03 15:46:34 +0300
committerklensy <klensy@users.noreply.github.com>2022-08-03 15:46:34 +0300
commit0548e8ed064623b5f5e72c79d7c9e4258f7cbc58 (patch)
tree099a4e1cc96cb3b1dce3511892fb5f06c7cf003d /compiler/rustc_borrowck
parente141246cbbce2a6001f3181d3d0f661bbfd9c7ea (diff)
downloadrust-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.rs2
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
                                     ),
                                 ));