diff --git a/src/eval/entry.rs b/src/eval/entry.rs index f0f1e74..7ee93e0 100644 --- a/src/eval/entry.rs +++ b/src/eval/entry.rs @@ -61,6 +61,7 @@ impl Entry { /// Mode that determines how entries are filtered when they are added to /// an [`Entries`]. +#[allow(dead_code)] #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum EntryMode { /// The entry's root date must be contained in the range. diff --git a/src/eval/range.rs b/src/eval/range.rs index 88b6ec2..51ddcc0 100644 --- a/src/eval/range.rs +++ b/src/eval/range.rs @@ -37,6 +37,7 @@ impl DateRange { /// Return a new range with its [`Self::until`] set to a new value. /// /// Returns [`None`] if the new value is earlier than [`Self::from`]. + #[allow(dead_code)] pub fn with_until(&self, until: NaiveDate) -> Option { if self.from <= until { Some(Self::new(self.from, until))