mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-03 05:13:35 +00:00
Merge pull request #20053 from ze/master
fix: Correct grammar in remove all unused imports assist
This commit is contained in:
commit
19c23eadf2
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ pub(crate) fn remove_unused_imports(acc: &mut Assists, ctx: &AssistContext<'_>)
|
|||
if unused.peek().is_some() {
|
||||
acc.add(
|
||||
AssistId::quick_fix("remove_unused_imports"),
|
||||
"Remove all the unused imports",
|
||||
"Remove all unused imports",
|
||||
selected_el.text_range(),
|
||||
|builder| {
|
||||
let unused: Vec<ast::UseTree> = unused.map(|x| builder.make_mut(x)).collect();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue