more clippy fixes

This commit is contained in:
Priec
2025-08-18 19:49:08 +02:00
parent c915b3287b
commit 885a48bdd8
2 changed files with 0 additions and 4 deletions

View File

@@ -166,7 +166,6 @@ fn render_active_line_with_indicator<T: CanvasTheme>(
if let Some(comp) = completion {
if !comp.is_empty() && remaining_cols > 0 {
visible_completion = slice_by_display_cols(comp, 0, remaining_cols);
remaining_cols = remaining_cols.saturating_sub(display_width(&visible_completion));
}
}

View File

@@ -149,9 +149,6 @@ fn calculate_dropdown_position(
if dropdown_area.right() > frame_area.width {
dropdown_area.x = frame_area.width.saturating_sub(dropdown_width);
}
dropdown_area.x = dropdown_area.x;
dropdown_area.y = dropdown_area.y;
dropdown_area
}