refactor: move dictionary to util
This commit is contained in:
parent
0b9e486147
commit
1bc47b7c2d
5 changed files with 8 additions and 4 deletions
|
|
@ -20,7 +20,10 @@ use std::ops::Mul;
|
|||
use chrono::{DateTime, Duration, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeZone};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use crate::{dictionary, model::Language, util};
|
||||
use crate::{
|
||||
model::Language,
|
||||
util::{self, dictionary},
|
||||
};
|
||||
|
||||
/// Parsed TimeAgo string, contains amount and time unit.
|
||||
///
|
||||
|
|
|
|||
Reference in a new issue