Skip to content

Commit

Permalink
thanks clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Sep 23, 2022
1 parent eade88f commit 8dadd70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plumbing/progress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ impl Tabled for Record {
const LENGTH: usize = 3;

fn fields(&self) -> Vec<String> {
let mut tokens = self.config.split(".");
let mut tokens = self.config.split('.');
let mut buf = vec![tokens.next().expect("present").bold().to_string()];
buf.extend(tokens.map(ToOwned::to_owned));

Expand Down

0 comments on commit 8dadd70

Please sign in to comment.