diff options
Diffstat (limited to 'examples/tutorial01')
-rw-r--r-- | examples/tutorial01/main.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/tutorial01/main.rs b/examples/tutorial01/main.rs index af2f14d..47623e6 100644 --- a/examples/tutorial01/main.rs +++ b/examples/tutorial01/main.rs @@ -2,7 +2,6 @@ extern crate diesel; use tosin::contrib::admin; -use tosin::db::backend::Connectable; use tosin::urls::{url_map, UrlMap}; use tosin::Settings; @@ -15,7 +14,7 @@ fn urls() -> UrlMap { } } -fn settings() -> Settings<impl Connectable> { +fn settings() -> Settings { Settings { ..Settings::default() } |