pass clippy (#575)

This commit is contained in:
Demonthos authored and GitHub committed 2022-10-02 14:12:24 -07:00
1 parent 047ed1e553
commit daeffd4149
20 files changed
+259 -345

No files matched your search

+1 -1
View File
@@ -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()
{
+1 -1
View File
@@ -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);
}
}
}