Fix doc test in on_debug.
This commit is contained in:
parent
e7cc403381
commit
5b41985ccc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user