Skip to content
/ rust Public
forked from rust-lang/rust

Commit 8edd3ea

Browse files
authored
Rollup merge of rust-lang#135884 - hkBst:patch-13, r=compiler-errors
remove implied end of slice
2 parents 67f0ca0 + 53578bd commit 8edd3ea

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_parse_format/src

1 file changed

+1
-1
lines changed

compiler/rustc_parse_format/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ impl<'a> Parser<'a> {
545545
}
546546
}
547547
}
548-
&self.input[start..self.input.len()]
548+
&self.input[start..]
549549
}
550550

551551
/// Parses an `Argument` structure, or what's contained within braces inside the format string.

0 commit comments

Comments
 (0)