clippy::map_clone
#36577 Release Notes: - N/A
@@ -3082,7 +3082,7 @@ impl Pane {
.read(cx)
.items()
.find(|item| item.item_id() == item_id)
.map(|item| item.clone())
.cloned()
else {
return;
};
The note is not visible to the blocked user.