Skip to content

Commit 9c6dbf2

Browse files
committed
Fixes clippy on macos
1 parent 7ab8156 commit 9c6dbf2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vm/src/stdlib/io.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ mod _io {
9898
StaticType, TryFromObject, TypeProtocol,
9999
};
100100

101+
#[allow(clippy::let_and_return)]
101102
fn validate_whence(whence: i32) -> bool {
102103
let x = (0..=2).contains(&whence);
103104
cfg_if::cfg_if! {

0 commit comments

Comments
 (0)