Update docs.

This commit is contained in:
Stephen Chung
2020-07-13 13:41:01 +08:00
parent e8d78bdfde
commit 930abb8b5c
12 changed files with 112 additions and 29 deletions

View File

@@ -91,5 +91,5 @@ let result = engine.call_fn_dynamic(
[ 41_i64.into() ]
)?;
assert_eq!(value.as_int().unwrap(), 42);
assert_eq!(value.as_int()?, 42);
```