Fix serde example.
This commit is contained in:
parent
c463e42987
commit
836b4de925
@ -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};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user