From 4bb8cfd0cda78574c1be2d7c137bfbf937bfe8cc Mon Sep 17 00:00:00 2001 From: Fredrik Meringdal Date: Fri, 16 Oct 2020 23:05:03 +0200 Subject: removed some logs --- src/monthinfo.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') diff --git a/src/monthinfo.rs b/src/monthinfo.rs index a22cf8c..d17da48 100644 --- a/src/monthinfo.rs +++ b/src/monthinfo.rs @@ -49,9 +49,6 @@ pub fn rebuild_month( // care about cross-year weekly periods. result.nwdaymask = vec![0; yearlen]; - println!("{:?}", options.bynweekday); - println!("{:?}", ranges); - for j in 0..ranges.len() { let rang = ranges[j]; let first = rang.0; @@ -63,12 +60,9 @@ pub fn rebuild_month( let n = options.bynweekday[k][1]; if n < 0 { i = last + (n + 1) * 7; - println!("n: {}, last: {}", n, last); - println!("i 1 is {}", i); i -= pymod(wdaymask[i as usize] as isize - wday, 7); } else { i = first + (n - 1) * 7; - println!("i 2 is {}", i); i += pymod(7 - wdaymask[i as usize] as isize + wday, 7); } if first <= i && i <= last { -- cgit v1.2.3