diff options
author | Aleksey Kladov <[email protected]> | 2020-07-30 13:12:04 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-30 13:12:04 +0100 |
commit | 9697d23cbe7b0ad897139b15f1b1ffe1cab6ad89 (patch) | |
tree | 8bb4cfc1f38b2add3704c64e0443b69e38ab272a /crates/ra_ssr | |
parent | 35e7966ebeee70ca2c15b5139b5c1918d9ef4086 (diff) |
Rename UseItem -> Use
Diffstat (limited to 'crates/ra_ssr')
-rw-r--r-- | crates/ra_ssr/src/search.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ssr/src/search.rs b/crates/ra_ssr/src/search.rs index 0f512cb62..213dc494f 100644 --- a/crates/ra_ssr/src/search.rs +++ b/crates/ra_ssr/src/search.rs | |||
@@ -237,7 +237,7 @@ fn is_search_permitted(node: &SyntaxNode) -> bool { | |||
237 | // and the code is `use foo::{baz, bar}`, we'll match `bar`, since it resolves to `foo::bar`. | 237 | // and the code is `use foo::{baz, bar}`, we'll match `bar`, since it resolves to `foo::bar`. |
238 | // However we'll then replace just the part we matched `bar`. We probably need to instead remove | 238 | // However we'll then replace just the part we matched `bar`. We probably need to instead remove |
239 | // `bar` and insert a new use declaration. | 239 | // `bar` and insert a new use declaration. |
240 | node.kind() != SyntaxKind::USE_ITEM | 240 | node.kind() != SyntaxKind::USE |
241 | } | 241 | } |
242 | 242 | ||
243 | impl UsageCache { | 243 | impl UsageCache { |