Skip to content

Commit 6b5d25b

Browse files
committed
clippy
1 parent bde12ae commit 6b5d25b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/ruff_linter/src/noqa.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ impl<'a> NoqaLexer<'a> {
618618
/// Consume whitespace
619619
#[inline]
620620
fn eat_whitespace(&mut self) {
621-
self.cursor.eat_while(|c| c.is_whitespace());
621+
self.cursor.eat_while(char::is_whitespace);
622622
}
623623

624624
/// Consume ASCII whitespace

0 commit comments

Comments
 (0)