diff --git a/src/api/events.rs b/src/api/events.rs index 0a7b5eaf..c927f358 100644 --- a/src/api/events.rs +++ b/src/api/events.rs @@ -81,7 +81,7 @@ impl Engine { /// ## Return value /// /// * `Ok(true)`: continue with normal variable definition. - /// * `Ok(false)`: deny the variable definition with an [runtime error][EvalAltResult::ErrorRuntime]. + /// * `Ok(false)`: deny the variable definition with an [runtime error][crate::EvalAltResult::ErrorRuntime]. /// /// ## Raising errors /// diff --git a/src/module/namespace.rs b/src/module/namespace.rs index abfb9901..1318467f 100644 --- a/src/module/namespace.rs +++ b/src/module/namespace.rs @@ -12,7 +12,7 @@ use std::{ ops::{Deref, DerefMut}, }; -/// _(internals)_ A chain of [module][Module] names to namespace-qualify a variable or function call. +/// _(internals)_ A chain of [module][crate::Module] names to namespace-qualify a variable or function call. /// Exported under the `internals` feature only. /// /// Not available under `no_module`.