summaryrefslogtreecommitdiff
path: root/src/iter/yearinfo.rs
diff options
context:
space:
mode:
authorFredrik Meringdal <fmeringdal@hotmail.com>2020-10-31 18:15:21 +0100
committerFredrik Meringdal <fmeringdal@hotmail.com>2020-10-31 18:15:21 +0100
commita600a4e88053a89670aa4bdec0800089018f5c1c (patch)
tree8911ff0dbb9ba184573630aca58a241157a4234a /src/iter/yearinfo.rs
parent93a7edadb0b920752d17c170aa02eda1d4953134 (diff)
downloadrust_rrule-a600a4e88053a89670aa4bdec0800089018f5c1c.zip
removed more unwraps
Diffstat (limited to 'src/iter/yearinfo.rs')
-rw-r--r--src/iter/yearinfo.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/iter/yearinfo.rs b/src/iter/yearinfo.rs
index 40b48ce..308a205 100644
--- a/src/iter/yearinfo.rs
+++ b/src/iter/yearinfo.rs
@@ -1,9 +1,8 @@
+use crate::datetime::{get_weekday_val, get_year_len, to_ordinal};
use crate::iter::masks::MASKS;
+use crate::iter::utils::pymod;
use crate::options::*;
use chrono::prelude::*;
-use crate::datetime::{to_ordinal, get_year_len, get_weekday_val};
-use crate::iter::utils::pymod;
-
#[derive(Debug)]
pub struct YearInfo {