Skip to content

Commit

Permalink
Address the clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
iddm committed Oct 9, 2023
1 parent 6e50f6b commit 94c43bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/advisories/cfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -414,8 +414,9 @@ mod test {

let failures: String = FAILURES
.iter()
.map(|bad| format!("{:?}\n", dur_parse(bad)))
.collect();
.map(|bad| format!("{:?}", dur_parse(bad)))
.collect::<Vec<String>>()
.join("\n");

insta::assert_snapshot!(failures);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ Err(unit 'H' cannot follow 'W')
Err('H' must be preceded with 'T')
Err('S' must be preceded with 'T')
Err(',' is valid in the RFC-3339 duration format but not supported by this implementation, use '.' instead)

0 comments on commit 94c43bc

Please sign in to comment.