about summary refs log tree commit diff
path: root/src/libsyntax_ext
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2018-12-27 11:21:47 -0800
committerEsteban Küber <esteban@kuber.com.ar>2018-12-31 09:44:58 -0800
commitb416f1398fa19b4f1fd9bc6418ea32e340d8379c (patch)
treefcbcc6761799171dd0377c4e5c5b48289d3cf176 /src/libsyntax_ext
parent7edc434b72e6e1b46b625c3019e8227dc7a8e2e8 (diff)
downloadrust-b416f1398fa19b4f1fd9bc6418ea32e340d8379c.tar.gz
rust-b416f1398fa19b4f1fd9bc6418ea32e340d8379c.zip
Use structured suggestion for braceless unicode escape squence
Diffstat (limited to 'src/libsyntax_ext')
-rw-r--r--src/libsyntax_ext/format.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax_ext/format.rs b/src/libsyntax_ext/format.rs
index 3a5f0ec07e7..c11f27f3ed5 100644
--- a/src/libsyntax_ext/format.rs
+++ b/src/libsyntax_ext/format.rs
@@ -845,8 +845,8 @@ pub fn expand_preparsed_format_args(ecx: &mut ExtCtxt,
                             }
                         } else if next_c.is_digit(16) {
                             skips.push(next_pos);
-                            // We suggest adding `{` and `}` when appropriate, accept it here as if it
-                            // were correct
+                            // We suggest adding `{` and `}` when appropriate, accept it here as if
+                            // it were correct
                             let mut i = 0;  // consume up to 6 hexanumeric chars
                             while let (Some((next_pos, c)), _) = (s.next(), i < 6) {
                                 if c.is_digit(16) {