The ListStore type should not be public (anymore)
This commit is contained in:
parent
889351df24
commit
1af5fe027f
|
@ -15,7 +15,7 @@ mod models;
|
||||||
use rocket::Rocket;
|
use rocket::Rocket;
|
||||||
use std::sync::RwLock;
|
use std::sync::RwLock;
|
||||||
|
|
||||||
pub type ListStore = RwLock<Vec<models::list::List>>;
|
type ListStore = RwLock<Vec<models::list::List>>;
|
||||||
|
|
||||||
fn rocket(lists_path: Option<&str>) -> Rocket {
|
fn rocket(lists_path: Option<&str>) -> Rocket {
|
||||||
let lists = models::list::List::load_all(lists_path);
|
let lists = models::list::List::load_all(lists_path);
|
||||||
|
|
Loading…
Reference in New Issue