Fix clippy::map_clone
lint violations (#36585)
#36577 Release Notes: - N/A
This commit is contained in:
parent
eaf6b56163
commit
92352f97ad
4 changed files with 4 additions and 3 deletions
|
@ -3082,7 +3082,7 @@ impl Pane {
|
|||
.read(cx)
|
||||
.items()
|
||||
.find(|item| item.item_id() == item_id)
|
||||
.map(|item| item.clone())
|
||||
.cloned()
|
||||
else {
|
||||
return;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue