Skip to content

Commit 0cc47eb

Browse files
committed
Clippy
1 parent 5a776f5 commit 0cc47eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/vm/src/builtins/str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,7 @@ impl PyStr {
13701370
.is_some_and(|c| c == '_' || XidStart::for_char(c));
13711371

13721372
// a string is not an identifier if it has whitespace or starts with a number
1373-
is_identifier_start && chars.all(|c| XidContinue::for_char(c))
1373+
is_identifier_start && chars.all(XidContinue::for_char)
13741374
}
13751375

13761376
// https://docs.python.org/3/library/stdtypes.html#str.translate

0 commit comments

Comments
 (0)