summaryrefslogtreecommitdiffstats
path: root/examples/watch
diff options
context:
space:
mode:
Diffstat (limited to 'examples/watch')
-rw-r--r--examples/watch/Settings.toml2
-rw-r--r--examples/watch/src/main.rs3
2 files changed, 3 insertions, 2 deletions
diff --git a/examples/watch/Settings.toml b/examples/watch/Settings.toml
index 8443f7b..1518068 100644
--- a/examples/watch/Settings.toml
+++ b/examples/watch/Settings.toml
@@ -1,3 +1,3 @@
debug = false
-port = 8080
+port = 3223
host = "0.0.0.0"
diff --git a/examples/watch/src/main.rs b/examples/watch/src/main.rs
index 0976f74..3f08e94 100644
--- a/examples/watch/src/main.rs
+++ b/examples/watch/src/main.rs
@@ -25,7 +25,8 @@ fn show() {
SETTINGS
.read()
.unwrap()
- .deserialize::<HashMap<String, String>>()
+ .clone()
+ .try_into::<HashMap<String, String>>()
.unwrap());
}