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};