Fix serde example.

This commit is contained in:
Stephen Chung 2020-10-10 15:06:59 +08:00
parent c463e42987
commit 836b4de925

View File

@ -13,7 +13,7 @@ fn main() {
#[cfg(feature = "serde")] #[cfg(feature = "serde")]
mod example { mod example {
use rhai::{de::from_dynamic, ser::to_dynamic}; use rhai::serde::{from_dynamic, to_dynamic};
use rhai::{Dynamic, Engine, Map}; use rhai::{Dynamic, Engine, Map};
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};