Skip to content

Commit 6358dba

Browse files
Copilotjoshblack
andauthored
fix: rename shadowed variable in ui.rs per code review
Agent-Logs-Url: https://github.com/joshblack/gh-mission-control/sessions/95eb31e4-2fc8-4dc9-9c85-eaa5ff53db38 Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
1 parent 4260852 commit 6358dba

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/ui.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,12 +277,12 @@ fn draw_detail_panel(f: &mut Frame, app: &mut App, area: Rect) {
277277
];
278278

279279
if let Some(desc) = &session.description {
280-
let mut lines = info_lines;
281-
lines.push(Line::from(vec![
280+
let mut info_lines_with_desc = info_lines;
281+
info_lines_with_desc.push(Line::from(vec![
282282
Span::styled(" Notes: ", Style::default().fg(Color::Gray)),
283283
Span::styled(desc.as_str(), Style::default().fg(Color::White)),
284284
]));
285-
let info_card = Paragraph::new(lines)
285+
let info_card = Paragraph::new(info_lines_with_desc)
286286
.block(
287287
Block::default()
288288
.borders(Borders::BOTTOM)

0 commit comments

Comments
 (0)