aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/user/assists.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/user/assists.md b/docs/user/assists.md
index 9861332af..e2850b4dd 100644
--- a/docs/user/assists.md
+++ b/docs/user/assists.md
@@ -402,6 +402,19 @@ fn main() {
402} 402}
403``` 403```
404 404
405## `merge_imports`
406
407Merges two imports with a common prefix.
408
409```rust
410// BEFORE
411use std::┃fmt::Formatter;
412use std::io;
413
414// AFTER
415use std::{fmt::Formatter, io};
416```
417
405## `merge_match_arms` 418## `merge_match_arms`
406 419
407Merges identical match arms. 420Merges identical match arms.