clippy::redudant_borrow
This commit is contained in:
@@ -740,7 +740,7 @@ impl GlobalState {
|
||||
let subscriptions = self
|
||||
.mem_docs
|
||||
.keys()
|
||||
.map(|path| self.vfs.read().0.file_id(&path).unwrap())
|
||||
.map(|path| self.vfs.read().0.file_id(path).unwrap())
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
log::trace!("updating notifications for {:?}", subscriptions);
|
||||
|
||||
Reference in New Issue
Block a user