Fix clippy lints for all crates and features
... and check those in CI as well!
This commit is contained in:
parent
d53cc5498b
commit
2065a40f64
55 changed files with 237 additions and 232 deletions
|
|
@ -396,7 +396,7 @@ where
|
|||
&mut local_shell,
|
||||
)
|
||||
})
|
||||
.unwrap_or_else(|| iced_native::event::Status::Ignored);
|
||||
.unwrap_or(iced_native::event::Status::Ignored);
|
||||
|
||||
local_shell.revalidate_layout(|| shell.invalidate_layout());
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,11 @@
|
|||
clippy::useless_conversion
|
||||
)]
|
||||
#![forbid(unsafe_code)]
|
||||
#![allow(clippy::inherent_to_string, clippy::type_complexity)]
|
||||
#![allow(
|
||||
clippy::await_holding_refcell_ref,
|
||||
clippy::inherent_to_string,
|
||||
clippy::type_complexity
|
||||
)]
|
||||
#![cfg_attr(docsrs, feature(doc_cfg))]
|
||||
pub mod component;
|
||||
pub mod responsive;
|
||||
|
|
|
|||
|
|
@ -428,7 +428,7 @@ where
|
|||
&mut local_shell,
|
||||
)
|
||||
})
|
||||
.unwrap_or_else(|| iced_native::event::Status::Ignored);
|
||||
.unwrap_or(iced_native::event::Status::Ignored);
|
||||
|
||||
local_shell.revalidate_layout(|| shell.invalidate_layout());
|
||||
|
||||
|
|
|
|||
|
|
@ -383,6 +383,6 @@ where
|
|||
shell,
|
||||
)
|
||||
})
|
||||
.unwrap_or_else(|| iced_native::event::Status::Ignored)
|
||||
.unwrap_or(iced_native::event::Status::Ignored)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -224,7 +224,7 @@ where
|
|||
where
|
||||
R: Deref<Target = Renderer>,
|
||||
{
|
||||
self.content.resolve(&mut self.state, renderer, f)
|
||||
self.content.resolve(self.state, renderer, f)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -405,6 +405,6 @@ where
|
|||
shell,
|
||||
)
|
||||
})
|
||||
.unwrap_or_else(|| iced_native::event::Status::Ignored)
|
||||
.unwrap_or(iced_native::event::Status::Ignored)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue