Upgrade Rust toolchain to 1.84.0 (#15408)

This commit is contained in:
Micha Reiser 2025-01-11 09:51:58 +01:00 committed by GitHub
parent 2d82445794
commit c39ca8fe6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 36 additions and 45 deletions

View file

@ -1732,7 +1732,7 @@ impl StringLiteralValue {
pub fn is_unicode(&self) -> bool {
self.iter()
.next()
.map_or(false, |part| part.flags.prefix().is_unicode())
.is_some_and(|part| part.flags.prefix().is_unicode())
}
/// Returns a slice of all the [`StringLiteral`] parts contained in this value.