lots more fixing of linting issues
Some checks are pending
/ test (push) Waiting to run

This commit is contained in:
Chris Cochrun 2026-01-27 15:07:29 -06:00
parent 29c4f9de92
commit 32c49a59a9
14 changed files with 78 additions and 87 deletions

View file

@ -38,7 +38,7 @@ pub enum Message {
}
impl ImageEditor {
#[must_use]
#[must_use]
pub fn new() -> Self {
Self {
image: None,
@ -93,7 +93,7 @@ impl ImageEditor {
Action::None
}
#[must_use]
#[must_use]
pub fn view(&self) -> Element<Message> {
let container = if let Some(pic) = &self.image {
let image = widget::image(pic.path.clone());
@ -132,7 +132,7 @@ impl ImageEditor {
.into()
}
#[must_use]
#[must_use]
pub const fn editing(&self) -> bool {
self.editing
}