Fix clippy lints and update packages (#568)

# Conflicts:
#	Cargo.lock
This commit is contained in:
0HyperCube
2022-03-14 21:23:08 +00:00
committed by Keavon Chambers
parent 593aa99ffa
commit 7ee2fcad44
9 changed files with 266 additions and 266 deletions
@@ -91,7 +91,7 @@ pub struct PropertiesPanelMessageHandler {
impl PropertiesPanelMessageHandler {
fn matches_selected(&self, path: &[LayerId]) -> bool {
let last_active_path = self.active_path.as_ref().map(|v| v.last().copied()).flatten();
let last_active_path = self.active_path.as_ref().and_then(|v| v.last().copied());
let last_modified = path.last().copied();
matches!((last_active_path, last_modified), (Some(active_last), Some(modified_last)) if active_last == modified_last)
}