diff options
Diffstat (limited to 'crates/ra_syntax/src/string_lexing/byte.rs')
-rw-r--r-- | crates/ra_syntax/src/string_lexing/byte.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/string_lexing/byte.rs b/crates/ra_syntax/src/string_lexing/byte.rs index 24424349c..b3228d6ca 100644 --- a/crates/ra_syntax/src/string_lexing/byte.rs +++ b/crates/ra_syntax/src/string_lexing/byte.rs | |||
@@ -40,7 +40,7 @@ impl<'a> Iterator for ByteComponentIterator<'a> { | |||
40 | 40 | ||
41 | assert!( | 41 | assert!( |
42 | self.parser.peek() == None, | 42 | self.parser.peek() == None, |
43 | "byte literal should leave no unparsed input: src = {}, pos = {}, length = {}", | 43 | "byte 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() |