mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-26 11:31:37 +08:00
Fix CI build
clippy::unnecessary_wraps is not stable yet
This commit is contained in:
parent
2319165b59
commit
70742651b1
@ -718,14 +718,12 @@ impl Statement<'_> {
|
|||||||
self.conn.decode_result(stmt.finalize())
|
self.conn.decode_result(stmt.finalize())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(clippy::unnecessary_wraps)]
|
|
||||||
#[cfg(not(feature = "modern_sqlite"))]
|
#[cfg(not(feature = "modern_sqlite"))]
|
||||||
#[inline]
|
#[inline]
|
||||||
fn check_readonly(&self) -> Result<()> {
|
fn check_readonly(&self) -> Result<()> {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(clippy::unnecessary_wraps)]
|
|
||||||
#[cfg(feature = "modern_sqlite")]
|
#[cfg(feature = "modern_sqlite")]
|
||||||
#[inline]
|
#[inline]
|
||||||
fn check_readonly(&self) -> Result<()> {
|
fn check_readonly(&self) -> Result<()> {
|
||||||
|
Loading…
Reference in New Issue
Block a user