compiler/rustc_parse_format/src/lib.rs
@@ -545,7 +545,7 @@ impl<'a> Parser<'a> {
545
}
546
547
548
- &self.input[start..self.input.len()]
+ &self.input[start..]
549
550
551
/// Parses an `Argument` structure, or what's contained within braces inside the format string.
0 commit comments