mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 10:48:32 +00:00
Switch to Rust 2024 edition (#18129)
This commit is contained in:
parent
e67b35743a
commit
9ae698fe30
1082 changed files with 4211 additions and 3300 deletions
|
@ -28,7 +28,7 @@ pub fn is_lowercase(s: &str) -> bool {
|
|||
_ => {
|
||||
return s[i..]
|
||||
.chars()
|
||||
.all(|c| c.is_lowercase() || !c.is_alphabetic())
|
||||
.all(|c| c.is_lowercase() || !c.is_alphabetic());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ pub fn is_uppercase(s: &str) -> bool {
|
|||
_ => {
|
||||
return s[i..]
|
||||
.chars()
|
||||
.all(|c| c.is_uppercase() || !c.is_alphabetic())
|
||||
.all(|c| c.is_uppercase() || !c.is_alphabetic());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue