mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
Clippy polish
This commit is contained in:
parent
8345c6cd79
commit
e02c360000
75 changed files with 361 additions and 419 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue