diff options
Diffstat (limited to 'crates/ra_syntax/src/string_lexing/byte_string.rs')
-rw-r--r-- | crates/ra_syntax/src/string_lexing/byte_string.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/string_lexing/byte_string.rs b/crates/ra_syntax/src/string_lexing/byte_string.rs index 5b6dda760..a6056159b 100644 --- a/crates/ra_syntax/src/string_lexing/byte_string.rs +++ b/crates/ra_syntax/src/string_lexing/byte_string.rs | |||
@@ -40,7 +40,7 @@ impl<'a> Iterator for ByteStringComponentIterator<'a> { | |||
40 | 40 | ||
41 | assert!( | 41 | assert!( |
42 | self.parser.peek() == None, | 42 | self.parser.peek() == None, |
43 | "byte string literal should leave no unparsed input: src = {}, pos = {}, length = {}", | 43 | "byte string literal should leave no unparsed input: src = {:?}, pos = {}, length = {}", |
44 | self.parser.src, | 44 | self.parser.src, |
45 | self.parser.pos, | 45 | self.parser.pos, |
46 | self.parser.src.len() | 46 | self.parser.src.len() |