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

@ -10,7 +10,7 @@ use cosmic::{
iced_widget::{column, row},
theme,
widget::{
self, button, container, horizontal_space, icon, text,
button, container, horizontal_space, icon, text,
text_input, Space,
},
Element, Task,
@ -83,8 +83,7 @@ impl PresentationEditor {
.presentation
.as_ref()
.map(|v| v.id)
.unwrap_or_default()
.clone();
.unwrap_or_default();
let task = Task::perform(
pick_presentation(),
move |presentation_result| {