From 2e8f12f0e76818a650749a6311f5a79a70be49b0 Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Tue, 25 Sep 2018 23:52:13 -0700 Subject: Fix errors to build watch example --- examples/watch/Settings.toml | 2 +- examples/watch/src/main.rs | 3 ++- 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::>() + .clone() + .try_into::>() .unwrap()); } -- cgit v1.2.3