Skip to content

Commit 447824d

Browse files
authored
Rollup merge of #135884 - hkBst:patch-13, r=compiler-errors
remove implied end of slice
2 parents d1cfd39 + 53578bd commit 447824d

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)