diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-06-16 06:29:05 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-16 06:29:05 +0100 |
commit | 83a16e825da2767aaee1d62447eb94f4d7de8881 (patch) | |
tree | 720894ad21adddc35538687a93958c7afe38260a /crates/ra_assists/src/utils.rs | |
parent | f4f51171ca6d99b693df2ef6fb71f0347999aa9f (diff) | |
parent | 4295a004ed2fbc1046163acb5c100d4be7e4912b (diff) |
Merge #4878
4878: Make "Replace qualified name with use" replace *all* mentions of the path r=matklad a=jonas-schievink
Fixes https://github.com/rust-analyzer/rust-analyzer/issues/4836
Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/ra_assists/src/utils.rs')
-rw-r--r-- | crates/ra_assists/src/utils.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_assists/src/utils.rs b/crates/ra_assists/src/utils.rs index 0038a9764..c1ff0de7b 100644 --- a/crates/ra_assists/src/utils.rs +++ b/crates/ra_assists/src/utils.rs | |||
@@ -13,7 +13,7 @@ use rustc_hash::FxHashSet; | |||
13 | 13 | ||
14 | use crate::assist_config::SnippetCap; | 14 | use crate::assist_config::SnippetCap; |
15 | 15 | ||
16 | pub(crate) use insert_use::insert_use_statement; | 16 | pub(crate) use insert_use::{find_insert_use_container, insert_use_statement}; |
17 | 17 | ||
18 | #[derive(Clone, Copy, Debug)] | 18 | #[derive(Clone, Copy, Debug)] |
19 | pub(crate) enum Cursor<'a> { | 19 | pub(crate) enum Cursor<'a> { |