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 3, 2022
1 parent b2155d5 commit d270152
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/ide_db/src/helpers/import_assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,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 d270152

Please sign in to comment.