Skip to content

Commit

Permalink
Address clippy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCaplinger committed Feb 17, 2025
1 parent 9c6c2fb commit 64ee48d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracing-appender/src/rolling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ impl Rotation {
}

fn round_ordinal_to_week(date: Date) -> u16 {
let ordinal = date.ordinal() as u16;
let ordinal = date.ordinal();
if ordinal <= 7 {
1
} else {
Expand Down

0 comments on commit 64ee48d

Please sign in to comment.