We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09b8ee3 commit 4b2bf9cCopy full SHA for 4b2bf9c
crates/rust-analyzer/src/main_loop/subscriptions.rs
@@ -17,6 +17,6 @@ impl Subscriptions {
17
self.subs.remove(&file_id);
18
}
19
pub(crate) fn subscriptions(&self) -> Vec<FileId> {
20
- self.subs.iter().cloned().collect()
+ self.subs.iter().copied().collect()
21
22
0 commit comments