diff --git a/src/repository/notification.rs b/src/repository/notification.rs index 1c7aad01b5592f241aa708a42ef05c5780bf5d42..af1b5d931145d80816e1c01fac8b1777f6a9ccba 100644 --- a/src/repository/notification.rs +++ b/src/repository/notification.rs @@ -6,7 +6,7 @@ use crate::model::notification::Notification; //Singleton of Database lazy_static! { - static ref NOTIFICATIONS: RwLock<Vec<Notification>> = RwLock::new(Vec![]); + static ref NOTIFICATIONS: RwLock<Vec<Notification>> = RwLock::new(vec![]); } pub struct NotificationRepository;