aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_expand
diff options
context:
space:
mode:
authorMatt Hall <[email protected]>2021-02-24 19:23:12 +0000
committerMatt Hall <[email protected]>2021-02-24 19:23:12 +0000
commita28e8628255198aa36bcde1f380763ef257beabd (patch)
tree45a066ee345fb262495fe82f9c8fd0dd9e357583 /crates/hir_expand
parent98a626450d43515f8fe91db9f7918c6e69804693 (diff)
Address further review comments
* Use known names for iter/iter_mut method (simplifies checking if the method exists * Extract code to check assist with fixtures to function
Diffstat (limited to 'crates/hir_expand')
-rw-r--r--crates/hir_expand/src/name.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/hir_expand/src/name.rs b/crates/hir_expand/src/name.rs
index c7609e90d..c94fb580a 100644
--- a/crates/hir_expand/src/name.rs
+++ b/crates/hir_expand/src/name.rs
@@ -189,6 +189,7 @@ pub mod known {
189 // Components of known path (function name) 189 // Components of known path (function name)
190 filter_map, 190 filter_map,
191 next, 191 next,
192 iter_mut,
192 // Builtin macros 193 // Builtin macros
193 file, 194 file,
194 column, 195 column,