Skip to content

Commit

Permalink
pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
estk committed Nov 27, 2023
1 parent a55f4dc commit 8b4f15f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion trace4rs/src/appenders/rolling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ impl FixedWindow {
// holding max rolls, saturation should be fine
if c.saturating_add(1) == self.count {
if c == 0 {
// if self.last = Some(0) and self.count = 1: skip
break 'outer;
}
// We skip the last file if we're at the max so it'll get overwritten.
Expand Down

0 comments on commit 8b4f15f

Please sign in to comment.