Clippy polish

This commit is contained in:
Tobias Hunger 2023-06-23 14:03:46 +02:00 committed by Tobias Hunger
parent 8345c6cd79
commit e02c360000
75 changed files with 361 additions and 419 deletions

View file

@ -204,8 +204,8 @@ impl LayoutConstraints {
}
// Iterate over the constraint with a reference to a property, and the corresponding member in the i_slint_core::layout::LayoutInfo struct
pub fn for_each_restrictions<'a>(
&'a self,
pub fn for_each_restrictions(
&self,
orientation: Orientation,
) -> impl Iterator<Item = (&NamedReference, &'static str)> {
let (min, max, preferred, stretch) = match orientation {