]> git.lizzy.rs Git - rust.git/blobdiff - crates/ide_assists/src/handlers/replace_qualified_name_with_use.rs
Use mutable syntax trees in `merge_imports`, `split_imports`
[rust.git] / crates / ide_assists / src / handlers / replace_qualified_name_with_use.rs
index 8df8c4b726fed662a5515ecfef4565c46447d30c..6b196681cab0936d2e0491803fa111ad75e30df8 100644 (file)
@@ -299,7 +299,7 @@ fn main() {
     ",
             r"
 mod std { pub mod fmt { pub trait Display {} } }
-use std::fmt::{self, Display};
+use std::fmt::{Display, self};
 
 fn main() {
     fmt;