From 42d14c943eb31753489b39ef58803c543c023bee Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Mon, 28 Jun 2021 17:12:33 -0600 Subject: fmt --- tests/tutorial/mod.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tests/tutorial') diff --git a/tests/tutorial/mod.rs b/tests/tutorial/mod.rs index 5d969cf..f101283 100644 --- a/tests/tutorial/mod.rs +++ b/tests/tutorial/mod.rs @@ -116,7 +116,7 @@ pub fn index() -> Response { fs::write( "src/polls/urls.rs", r#" -use tosin::urls::{UrlMap, url_map}; +use tosin::urls::{url_map, UrlMap}; use super::views; @@ -133,12 +133,13 @@ pub fn urls() -> UrlMap { fs::write( "src/main.rs", r#" -#[macro_use] extern crate diesel; +#[macro_use] +extern crate diesel; -use tosin::Settings; use tosin::contrib::admin; use tosin::db::backend::Connectable; -use tosin::urls::{UrlMap, url_map}; +use tosin::urls::{url_map, UrlMap}; +use tosin::Settings; mod polls; -- cgit v1.2.3