Skip to content

Commit 33ac3b7

Browse files
authored
Merge pull request #170 from cakebaker/clippy_fix_warning
clippy: fix warning from `uninlined_format_args`
2 parents e031c8c + 832942c commit 33ac3b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/items/time.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ mod tests {
840840
let make_timezone = |input: &mut &str| {
841841
timezone(input)
842842
.map_err(|e| eprintln!("TEST FAILED AT:\n{e}"))
843-
.map(|offset| format!("{}", offset))
843+
.map(|offset| format!("{offset}"))
844844
.expect("expect tests to succeed")
845845
};
846846

0 commit comments

Comments
 (0)