diff options
Diffstat (limited to 'crates/ide_db/src/helpers')
-rw-r--r-- | crates/ide_db/src/helpers/insert_use.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide_db/src/helpers/insert_use.rs b/crates/ide_db/src/helpers/insert_use.rs index df66d8ea0..9e0cb91c3 100644 --- a/crates/ide_db/src/helpers/insert_use.rs +++ b/crates/ide_db/src/helpers/insert_use.rs | |||
@@ -80,7 +80,7 @@ impl ImportScope { | |||
80 | }) | 80 | }) |
81 | .last() | 81 | .last() |
82 | .map(|last_inner_element| { | 82 | .map(|last_inner_element| { |
83 | (InsertPosition::After(last_inner_element.into()), AddBlankLine::BeforeTwice) | 83 | (InsertPosition::After(last_inner_element), AddBlankLine::BeforeTwice) |
84 | }) | 84 | }) |
85 | .unwrap_or_else(|| self.first_insert_pos()) | 85 | .unwrap_or_else(|| self.first_insert_pos()) |
86 | } | 86 | } |