chore: fix two clippy warnings

Drop the no-op drop(stored) of a &mut reference in profiles.rs and stop
binding the unused ProfileSummary returned by app.undo_delete() in the
IPC UndoDelete handler. Clippy --all-targets is now warning-free.
This commit is contained in:
Avi 2026-09-01 10:45:44 -05:00
commit 3083a44e02
2 changed files with 1 additions and 2 deletions

View file

@ -557,7 +557,7 @@ async fn run_with_app(app: &mut App, request: Request) -> Result<serde_json::Val
Ok(json!(app.state_view()))
}
Request::UndoDelete => {
let restored = app.undo_delete()?;
app.undo_delete()?;
app.save_vault()?;
Ok(json!(app.state_view()))
}

View file

@ -247,7 +247,6 @@ pub fn set_profile_picture(
stored.picture.clone(),
stored.nip05.clone(),
);
drop(stored);
let summary = ProfileSummary {
label,
npub,