diff options
author | Maan2003 <[email protected]> | 2021-06-13 04:54:16 +0100 |
---|---|---|
committer | Maan2003 <[email protected]> | 2021-06-13 04:54:16 +0100 |
commit | c9b4ac5be4daaabc062ab1ee663eba8594750003 (patch) | |
tree | 6090c8c38c735875c916255920525cf5fff45c75 /crates/rust-analyzer/src/main_loop.rs | |
parent | d6737e55fb49d286b5e646f57975b27b2c95ce92 (diff) |
clippy::redudant_borrow
Diffstat (limited to 'crates/rust-analyzer/src/main_loop.rs')
-rw-r--r-- | crates/rust-analyzer/src/main_loop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/main_loop.rs b/crates/rust-analyzer/src/main_loop.rs index 31d8ea9e7..fa5fc6fbf 100644 --- a/crates/rust-analyzer/src/main_loop.rs +++ b/crates/rust-analyzer/src/main_loop.rs | |||
@@ -740,7 +740,7 @@ impl GlobalState { | |||
740 | let subscriptions = self | 740 | let subscriptions = self |
741 | .mem_docs | 741 | .mem_docs |
742 | .keys() | 742 | .keys() |
743 | .map(|path| self.vfs.read().0.file_id(&path).unwrap()) | 743 | .map(|path| self.vfs.read().0.file_id(path).unwrap()) |
744 | .collect::<Vec<_>>(); | 744 | .collect::<Vec<_>>(); |
745 | 745 | ||
746 | log::trace!("updating notifications for {:?}", subscriptions); | 746 | log::trace!("updating notifications for {:?}", subscriptions); |