mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 11:20:54 +00:00
fix: Correct grammar in remove all unused imports assist
This commit is contained in:
parent
b0552d779f
commit
333808877b
@ -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…
x
Reference in New Issue
Block a user