Skip to content

Commit

Permalink
removed rank from example since its a private field
Browse files Browse the repository at this point in the history
  • Loading branch information
angelorodem committed Jul 9, 2023
1 parent c9c1c72 commit 60c8adf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/list_files/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ fn ui<B: Backend>(f: &mut Frame<B>, app: &App, number_files: usize, last_latency
};

let content = vec![Spans::from(vec![
Span::styled(format!("r:{} - {}", m.rank, m.title), style),
Span::styled(format!("{}", m.title), style),
path,
])];
ListItem::new(content)
Expand Down

0 comments on commit 60c8adf

Please sign in to comment.