diff options
Diffstat (limited to 'crates/ra_syntax/src/string_lexing/string.rs')
-rw-r--r-- | crates/ra_syntax/src/string_lexing/string.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/string_lexing/string.rs b/crates/ra_syntax/src/string_lexing/string.rs index 1b23029c6..d8351e9af 100644 --- a/crates/ra_syntax/src/string_lexing/string.rs +++ b/crates/ra_syntax/src/string_lexing/string.rs | |||
@@ -35,7 +35,7 @@ impl<'a> Iterator for StringComponentIterator<'a> { | |||
35 | 35 | ||
36 | assert!( | 36 | assert!( |
37 | self.parser.peek() == None, | 37 | self.parser.peek() == None, |
38 | "string literal should leave no unparsed input: src = {}, pos = {}, length = {}", | 38 | "string literal should leave no unparsed input: src = {:?}, pos = {}, length = {}", |
39 | self.parser.src, | 39 | self.parser.src, |
40 | self.parser.pos, | 40 | self.parser.pos, |
41 | self.parser.src.len() | 41 | self.parser.src.len() |