some clippy fixes

This commit is contained in:
Chris Cochrun 2025-09-26 14:05:57 -05:00
parent 3b1a0c4207
commit 46abd9dd7a
13 changed files with 54 additions and 85 deletions

View file

@ -318,7 +318,7 @@ pub async fn update_presentation_in_db(
.unwrap_or_default();
let html = presentation.kind == PresKind::Html;
let mut db = db.detach();
let id = presentation.id.clone();
let id = presentation.id;
if let Err(e) =
query!("SELECT id FROM presentations where id = $1", id)
.fetch_one(&mut db)