mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-19 18:11:08 +00:00
Upgrade Rust toolchain to 1.84.0 (#15408)
This commit is contained in:
parent
2d82445794
commit
c39ca8fe6d
18 changed files with 36 additions and 45 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue