about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-10-19 10:13:56 -0700
committerEsteban Küber <esteban@kuber.com.ar>2019-10-26 15:26:08 -0700
commit93bb780e383ff22851ccda80f761d69314a7f1fa (patch)
tree7513db22739f34c3c1e328737807b003e284b1e3 /src/libsyntax/parse
parent55e4e2d52e563a02dc43804abdcc74b98976387b (diff)
downloadrust-93bb780e383ff22851ccda80f761d69314a7f1fa.tar.gz
rust-93bb780e383ff22851ccda80f761d69314a7f1fa.zip
review comments and tweaks
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser/stmt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser/stmt.rs b/src/libsyntax/parse/parser/stmt.rs
index d54d9c4b8e9..ea7e4c05ea1 100644
--- a/src/libsyntax/parse/parser/stmt.rs
+++ b/src/libsyntax/parse/parser/stmt.rs
@@ -239,7 +239,7 @@ impl<'a> Parser<'a> {
                 err.span_suggestion_short(
                     colon_sp,
                     "use `=` if you meant to assign",
-                    "=".to_string(),
+                    " =".to_string(),
                     Applicability::MachineApplicable
                 );
                 err.emit();