mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
Merge pull request #2774 from sobolevn/fixes-clippy
Fixes clippy on macos
This commit is contained in:
@@ -98,6 +98,7 @@ mod _io {
|
||||
StaticType, TryFromObject, TypeProtocol,
|
||||
};
|
||||
|
||||
#[allow(clippy::let_and_return)]
|
||||
fn validate_whence(whence: i32) -> bool {
|
||||
let x = (0..=2).contains(&whence);
|
||||
cfg_if::cfg_if! {
|
||||
|
||||
Reference in New Issue
Block a user