mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-19 14:28:58 +08:00
clippy::use_self
This commit is contained in:
@@ -413,7 +413,7 @@ pub struct ZeroBlob(pub i32);
|
||||
impl ToSql for ZeroBlob {
|
||||
#[inline]
|
||||
fn to_sql(&self) -> Result<ToSqlOutput<'_>> {
|
||||
let ZeroBlob(length) = *self;
|
||||
let Self(length) = *self;
|
||||
Ok(ToSqlOutput::ZeroBlob(length))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user