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

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
jhpratt authored Jan 23, 2025
2 parents 67f0ca0 + 53578bd commit 8edd3ea
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 8edd3ea

Please sign in to comment.