From 836b4de9253b06b39c4b564c26dc1bd8e9743ff6 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Sat, 10 Oct 2020 15:06:59 +0800 Subject: [PATCH] Fix serde example. --- examples/serde.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/serde.rs b/examples/serde.rs index 3cb68459..1868f44b 100644 --- a/examples/serde.rs +++ b/examples/serde.rs @@ -13,7 +13,7 @@ fn main() { #[cfg(feature = "serde")] mod example { - use rhai::{de::from_dynamic, ser::to_dynamic}; + use rhai::serde::{from_dynamic, to_dynamic}; use rhai::{Dynamic, Engine, Map}; use serde::{Deserialize, Serialize};