Remove debug from repetitions.rs
This commit is contained in:
1 parent
98c8093961
commit
bb673ed7c7
1 file changed
+1
-4
+1
-4
@@ -417,10 +417,7 @@ impl RepetitionsState {
|
||||
for (date, activity) in history {
|
||||
let distance = now - *date;
|
||||
let index = counts.len() as i64 - distance.num_days() - 1;
|
||||
|
||||
if index == 210 {
|
||||
println!("invalid index")
|
||||
}
|
||||
|
||||
if index < 0 {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user