From 9c6dbf2c23c942a803ff1f32fb9ecf1aa5651162 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Sun, 1 Aug 2021 12:08:14 +0300 Subject: [PATCH] Fixes clippy on macos --- vm/src/stdlib/io.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/vm/src/stdlib/io.rs b/vm/src/stdlib/io.rs index 6a2e962c0..5a3d7572f 100644 --- a/vm/src/stdlib/io.rs +++ b/vm/src/stdlib/io.rs @@ -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! {