Skip to content

Commit

Permalink
Rollup merge of rust-lang#135884 - hkBst:patch-13, r=compiler-errors
Browse files Browse the repository at this point in the history
remove implied end of slice
  • Loading branch information
matthiaskrgr authored Jan 22, 2025
2 parents e9509f4 + 53578bd commit 1d0f92e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_parse_format/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ impl<'a> Parser<'a> {
}
}
}
&self.input[start..self.input.len()]
&self.input[start..]
}

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

0 comments on commit 1d0f92e

Please sign in to comment.