Skip to content

Commit

Permalink
remove implied end of slice
Browse files Browse the repository at this point in the history
  • Loading branch information
hkBst authored Jan 22, 2025
1 parent b2728d5 commit 53578bd
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 53578bd

Please sign in to comment.