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 /tests | |
parent | b1ec80c918dd9e156c049a500983fb15147c6e14 (diff) | |
download | tosin-42d14c943eb31753489b39ef58803c543c023bee.tar.gz tosin-42d14c943eb31753489b39ef58803c543c023bee.zip |
fmt
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tutorial/mod.rs | 9 |
1 files changed, 5 insertions, 4 deletions
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; |