Skip to content

Commit 53578bd

Browse files
authored
remove implied end of slice
1 parent b2728d5 commit 53578bd

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)