From 8c5de09446ccca26e4b2771125cef2c7d443d2a4 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Wed, 9 Feb 2022 22:40:13 +0800 Subject: [PATCH] Fix doc links. --- src/api/events.rs | 2 +- src/module/namespace.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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`.