aboutsummaryrefslogtreecommitdiff
path: root/examples/tutorial01
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tutorial01')
-rw-r--r--examples/tutorial01/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/tutorial01/main.rs b/examples/tutorial01/main.rs
index 0fb087d..7426ab7 100644
--- a/examples/tutorial01/main.rs
+++ b/examples/tutorial01/main.rs
@@ -1,5 +1,6 @@
use tosin::Settings;
use tosin::contrib::admin;
+use tosin::db::backend::Connectable;
use tosin::urls::{UrlMap, url_map};
mod polls;
@@ -11,7 +12,7 @@ fn urls() -> UrlMap {
}
}
-fn settings() -> Settings {
+fn settings() -> Settings<impl Connectable> {
Settings {
..Settings::default()
}