Update Rust toolchain to 1.89 (#19807)

This commit is contained in:
Micha Reiser 2025-08-07 18:21:50 +02:00 committed by GitHub
parent b22586fa0e
commit 7dfde3b929
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
101 changed files with 234 additions and 200 deletions

View file

@ -62,7 +62,7 @@ impl NeedsParentheses for ExprNumberLiteral {
}
/// Returns the normalized integer string.
fn normalize_integer(input: &str) -> Cow<str> {
fn normalize_integer(input: &str) -> Cow<'_, str> {
// The normalized string if `input` is not yet normalized.
// `output` must remain empty if `input` is already normalized.
let mut output = String::new();
@ -107,7 +107,7 @@ fn normalize_integer(input: &str) -> Cow<str> {
}
/// Returns the normalized floating number string.
fn normalize_floating_number(input: &str) -> Cow<str> {
fn normalize_floating_number(input: &str) -> Cow<'_, str> {
// The normalized string if `input` is not yet normalized.
// `output` must remain empty if `input` is already normalized.
let mut output = String::new();