chore: nightly clippy fixes

This commit is contained in:
link2xt
2025-06-17 21:35:13 +00:00
committed by l
parent 0568393157
commit 139fbfae85
14 changed files with 28 additions and 28 deletions

View File

@@ -361,7 +361,7 @@ impl std::fmt::Display for MsgId {
/// This **does** ensure that no special message IDs are written into
/// the database and the conversion will fail if this is not the case.
impl rusqlite::types::ToSql for MsgId {
fn to_sql(&self) -> rusqlite::Result<rusqlite::types::ToSqlOutput> {
fn to_sql(&self) -> rusqlite::Result<rusqlite::types::ToSqlOutput<'_>> {
if self.0 <= DC_MSG_ID_LAST_SPECIAL {
return Err(rusqlite::Error::ToSqlConversionFailure(
format_err!("Invalid MsgId {}", self.0).into(),