mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 18:06:35 +03:00
chore: nightly clippy fixes
This commit is contained in:
@@ -146,7 +146,7 @@ impl FromStr for Timer {
|
||||
}
|
||||
|
||||
impl rusqlite::types::ToSql for Timer {
|
||||
fn to_sql(&self) -> rusqlite::Result<rusqlite::types::ToSqlOutput> {
|
||||
fn to_sql(&self) -> rusqlite::Result<rusqlite::types::ToSqlOutput<'_>> {
|
||||
let val = rusqlite::types::Value::Integer(match self {
|
||||
Self::Disabled => 0,
|
||||
Self::Enabled { duration } => i64::from(*duration),
|
||||
|
||||
Reference in New Issue
Block a user