Fix doc test in on_debug.

This commit is contained in:
Stephen Chung 2020-04-23 13:22:53 +08:00
parent e7cc403381
commit 5b41985ccc

View File

@ -1026,7 +1026,7 @@ impl Engine {
/// # Example
///
/// ```
/// # fn main() -> Result<(), rhai::EvalAltResult> {
/// # fn main() -> Result<(), Box<rhai::EvalAltResult>> {
/// # use std::sync::RwLock;
/// # use std::sync::Arc;
/// use rhai::Engine;