From 70742651b10069cd9b9ac171fc3871f04ee35bc9 Mon Sep 17 00:00:00 2001 From: gwenn Date: Sat, 2 Jan 2021 13:43:12 +0100 Subject: [PATCH] Fix CI build clippy::unnecessary_wraps is not stable yet --- src/statement.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/statement.rs b/src/statement.rs index 5993d03..b749e26 100644 --- a/src/statement.rs +++ b/src/statement.rs @@ -718,14 +718,12 @@ impl Statement<'_> { self.conn.decode_result(stmt.finalize()) } - #[allow(clippy::unnecessary_wraps)] #[cfg(not(feature = "modern_sqlite"))] #[inline] fn check_readonly(&self) -> Result<()> { Ok(()) } - #[allow(clippy::unnecessary_wraps)] #[cfg(feature = "modern_sqlite")] #[inline] fn check_readonly(&self) -> Result<()> {