summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFredrik Meringdal <fmeringdal@hotmail.com>2020-10-31 21:48:02 +0100
committerFredrik Meringdal <fmeringdal@hotmail.com>2020-10-31 21:48:02 +0100
commita3b16be07bc31f28a50a37beef42655b62dd9558 (patch)
tree14589fe4304258296cd4cad634348ec5662a742d /src
parentcd075b33b2d67c1174868d3547053cd80136caf8 (diff)
downloadrust_rrule-a3b16be07bc31f28a50a37beef42655b62dd9558.zip
tests for seconds and performance fix
Diffstat (limited to 'src')
-rw-r--r--src/iter/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/iter/mod.rs b/src/iter/mod.rs
index fe5b612..c9fa858 100644
--- a/src/iter/mod.rs
+++ b/src/iter/mod.rs
@@ -247,9 +247,9 @@ pub fn increment_counter_date(
let hours = counter_date.hour() as usize;
if (options.byhour.is_empty() || includes(&options.byhour, &hours)) && (
- options.byminute.is_empty() || includes(&options.byminute, &minutes) && (
+ options.byminute.is_empty() || includes(&options.byminute, &minutes)) && (
options.bysecond.is_empty() || includes(&options.bysecond, &seconds)
- )) {
+ ) {
break;
}
}