Skip to content

Commit efabf67

Browse files
committed
fix(ci): satisfy input rendering Clippy guards
1 parent e5c3477 commit efabf67

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

crates/jcode-tui/src/tui/ui_input.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2324,6 +2324,7 @@ fn right_fact_lines(app: &dyn TuiState) -> Vec<RightFactLine> {
23242324
lines
23252325
}
23262326

2327+
#[allow(clippy::too_many_arguments)]
23272328
fn right_fact_placements(
23282329
buffer: &ratatui::buffer::Buffer,
23292330
lines: Vec<RightFactLine>,
@@ -2390,6 +2391,7 @@ fn right_fact_placements(
23902391
}
23912392
}
23922393

2394+
#[allow(clippy::too_many_arguments)]
23932395
fn right_fact_area_on_row(
23942396
buffer: &ratatui::buffer::Buffer,
23952397
line: &RightFactLine,
@@ -2979,7 +2981,6 @@ fn draw_send_mode_indicator(frame: &mut Frame, app: &dyn TuiState, area: Rect) {
29792981
let line = Line::from(Span::styled(icon, Style::default().fg(color)));
29802982
let paragraph = Paragraph::new(line).alignment(Alignment::Right);
29812983
frame.render_widget(paragraph, indicator_area);
2982-
return;
29832984
}
29842985
}
29852986

0 commit comments

Comments
 (0)