Fix doc test.

This commit is contained in:
Stephen Chung
2021-12-26 12:16:48 +08:00
parent 01c35808cb
commit a07faf7dd9
2 changed files with 8 additions and 8 deletions

View File

@@ -42,8 +42,8 @@
//!
//! # #[cfg(not(feature = "no_std"))]
//! # #[cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))]
//! // Evaluate the script, expects a 'bool' return
//! let result = engine.eval_file::<bool>("my_script.rhai".into())?,
//! // Evaluate the script, expecting a 'bool' result
//! let result = engine.eval_file::<bool>("my_script.rhai".into())?;
//!
//! assert_eq!(result, true);
//!