diff options
author | Melody Horn <melody@boringcactus.com> | 2021-06-28 17:12:33 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-06-28 17:12:33 -0600 |
commit | 42d14c943eb31753489b39ef58803c543c023bee (patch) | |
tree | e5c7d9e3784192ebdc390dfa481631eaad07f0fd /src/contrib/admin | |
parent | b1ec80c918dd9e156c049a500983fb15147c6e14 (diff) | |
download | tosin-42d14c943eb31753489b39ef58803c543c023bee.tar.gz tosin-42d14c943eb31753489b39ef58803c543c023bee.zip |
fmt
Diffstat (limited to 'src/contrib/admin')
-rw-r--r-- | src/contrib/admin/migrations/mod.rs | 2 | ||||
-rw-r--r-- | src/contrib/admin/models.rs | 6 | ||||
-rw-r--r-- | src/contrib/admin/site/urls.rs | 2 |
3 files changed, 4 insertions, 6 deletions
diff --git a/src/contrib/admin/migrations/mod.rs b/src/contrib/admin/migrations/mod.rs index 5ecbb82..01e246b 100644 --- a/src/contrib/admin/migrations/mod.rs +++ b/src/contrib/admin/migrations/mod.rs @@ -1,3 +1,3 @@ -use crate::db::migration::{Migration, gather}; +use crate::db::migration::{gather, Migration}; gather!(); diff --git a/src/contrib/admin/models.rs b/src/contrib/admin/models.rs index 7fde44a..eb85f7b 100644 --- a/src/contrib/admin/models.rs +++ b/src/contrib/admin/models.rs @@ -1,6 +1,4 @@ #[allow(unused_imports)] -use crate::db::models::{Model, Id, ModelMeta}; +use crate::db::models::{Id, Model, ModelMeta}; -pub const ALL: &[ModelMeta] = &[ - -]; +pub const ALL: &[ModelMeta] = &[]; diff --git a/src/contrib/admin/site/urls.rs b/src/contrib/admin/site/urls.rs index d6537bc..72b65d2 100644 --- a/src/contrib/admin/site/urls.rs +++ b/src/contrib/admin/site/urls.rs @@ -1,5 +1,5 @@ use crate::http::Reply; -use crate::urls::{UrlMap, url_map}; +use crate::urls::{url_map, UrlMap}; pub fn urls() -> UrlMap { url_map! { |