Extract primitive types to separate file

This commit is contained in:
Joscha 2021-12-05 19:21:49 +01:00
parent d105d959fa
commit 54ffb7a70a
11 changed files with 146 additions and 139 deletions

View file

@ -4,8 +4,9 @@ use chrono::Datelike;
use super::commands::{
BirthdaySpec, Command, DateSpec, Delta, DeltaStep, Done, DoneDate, Expr, File, FormulaSpec,
Note, Repeat, Spanned, Spec, Statement, Task, Time, Var, Weekday, WeekdaySpec,
Note, Repeat, Spec, Statement, Task, Var, WeekdaySpec,
};
use super::primitives::{Spanned, Time, Weekday};
impl<T: fmt::Display> fmt::Display for Spanned<T> {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {