refactor: move dictionary to util

This commit is contained in:
Theta-Dev 2022-10-10 12:22:27 +02:00
parent 0b9e486147
commit 1bc47b7c2d
5 changed files with 8 additions and 4 deletions

View file

@ -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.
///