Skip to content

Commit

Permalink
disable minimum automatic import length
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuang committed Mar 7, 2022
1 parent 4c3cdbd commit 3492615
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/ide_db/src/imports/import_assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ impl ImportAssets {
}
}
.into_iter()
.filter(|import| import.import_path.len() > 1)
.filter(|import| !scope_definitions.contains(&ScopeDef::from(import.item_to_import)))
.sorted_by(|a, b| a.import_path.cmp(&b.import_path))
.collect()
Expand Down

0 comments on commit 3492615

Please sign in to comment.