Skip to content

Commit 63d47c0

Browse files
committed
Remove unused method
1 parent 6feb52c commit 63d47c0

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

crates/ra_ide/src/completion/test_utils.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,6 @@ fn get_all_completion_items(code: &str, options: &CompletionConfig) -> Vec<Compl
3838
analysis.completions(options, position).unwrap().unwrap().into()
3939
}
4040

41-
pub(crate) fn get_all_completions(code: &str, options: &CompletionConfig) -> Vec<String> {
42-
let mut kind_completions = get_all_completion_items(code, options);
43-
kind_completions.sort_by_key(|c| c.label().to_owned());
44-
kind_completions
45-
.into_iter()
46-
.map(|it| format!("{} {}", it.kind().unwrap().tag(), it.label()))
47-
.collect()
48-
}
49-
5041
pub(crate) fn get_completions_with_options(
5142
code: &str,
5243
kind: CompletionKind,

0 commit comments

Comments
 (0)