-
Notifications
You must be signed in to change notification settings - Fork 2k
chore: update to Rust 1.88.0 #10608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update to Rust 1.88.0 #10608
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@ognevny is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
f0ad624
to
31c73f7
Compare
@chris-olszewski can you have a look into it, please? |
3bb79f7
to
2a9fb7e
Compare
bb09784
to
d8bb191
Compare
@@ -294,7 +294,7 @@ fn wildcard_to_regex_pattern(pattern: &str) -> String { | |||
let mut previous_index = 0; | |||
let mut previous_char: Option<char> = None; | |||
|
|||
for (i, char) in pattern.chars().enumerate() { | |||
for (i, char) in pattern.char_indices() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a behavior change if characters take up multiple bytes, but we already would panic on those strings. I think this will just break in a slightly different way which is okay.
Actually fixing this code can/should be fixed in it's own PR.
Apologies for slow review. Thank you for keeping us current! |
Description
std::hash::Hasher::hash
is no longer detects as trait method. I removed its reference to fix tons of warningsformat!
(and some more) args: https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_argschar_indices
where applicable: https://rust-lang.github.io/rust-clippy/master/index.html#char_indices_as_byte_indices (possibly introduces regressions)Testing Instructions
CI