Fix CI build

clippy::unnecessary_wraps is not stable yet
This commit is contained in:
gwenn 2021-01-02 13:43:12 +01:00
parent 2319165b59
commit 70742651b1

View File

@ -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<()> {