summaryrefslogtreecommitdiffstats
path: root/examples/watch/src/main.rs
diff options
context:
space:
mode:
authorConrad Ludgate <conradludgate@gmail.com>2021-11-22 14:00:10 +0000
committerConrad Ludgate <conradludgate@gmail.com>2021-11-23 07:40:53 +0000
commit11296ae50625053a64dbc7210dff814899879d0f (patch)
treed377f13881451f0b27eace0be61d0466ecb7c9e7 /examples/watch/src/main.rs
parent3b60b9f5575ae60a672f006040707af423f67390 (diff)
rename try_into to try_deserialize to avoid confusion
Diffstat (limited to 'examples/watch/src/main.rs')
-rw-r--r--examples/watch/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/watch/src/main.rs b/examples/watch/src/main.rs
index a197390..9f3d21a 100644
--- a/examples/watch/src/main.rs
+++ b/examples/watch/src/main.rs
@@ -20,7 +20,7 @@ fn show() {
.read()
.unwrap()
.clone()
- .try_into::<HashMap<String, String>>()
+ .try_deserialize::<HashMap<String, String>>()
.unwrap());
}