pass clippy (#575)
This commit is contained in:
1 parent
047ed1e553
commit
daeffd4149
20 files changed
+259
-345
No files matched your search
@@ -93,7 +93,7 @@ impl NodeDepState<()> for Focus {
|
||||
.map(|mut listeners| {
|
||||
listeners
|
||||
.any(|l| FOCUS_EVENTS.binary_search(&l).is_ok())
|
||||
.then(|| ())
|
||||
.then_some(())
|
||||
})
|
||||
.is_some()
|
||||
{
|
||||
|
||||
@@ -94,7 +94,7 @@ impl ChildDepState for TaffyLayout {
|
||||
.binary_search(&attribute.name.as_ref())
|
||||
.is_ok());
|
||||
if let Some(text) = value.as_text() {
|
||||
apply_layout_attributes(&&attribute.name, text, &mut style);
|
||||
apply_layout_attributes(&attribute.name, text, &mut style);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user