Update src/day.rs

Co-authored-by: Felix Spöttel <1682504+fspoettel@users.noreply.github.com>
This commit is contained in:
Tristan Guichaoua 2023-11-22 12:55:00 +01:00 committed by GitHub
parent bc9b0e20f6
commit 0e6ee20e01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,7 +98,7 @@ impl Iterator for EveryDay {
if self.current > 25 { if self.current > 25 {
return None; return None;
} }
// NOTE: the iterator start at 1 and we have verified that the value is not above 25. // NOTE: the iterator starts at 1 and we have verified that the value is not above 25.
let day = Day(self.current); let day = Day(self.current);
self.current += 1; self.current += 1;