From 42d14c943eb31753489b39ef58803c543c023bee Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Mon, 28 Jun 2021 17:12:33 -0600 Subject: fmt --- src/contrib/admin/migrations/mod.rs | 2 +- src/contrib/admin/models.rs | 6 ++---- src/contrib/admin/site/urls.rs | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) (limited to 'src/contrib') 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! { -- cgit v1.2.3