diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-08-14 00:30:31 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-08-14 00:30:31 +0800 |
| commit | 299b96c8917a7b2c70c9e8040c064d3186ecd760 (patch) | |
| tree | aa79d713981f54bf0635e9d0db5c25750fabee23 /mingling_core/src/asset | |
| parent | 0b236d0c73da51ccde3cfe442db8c47ce521d262 (diff) | |
chore(docs): fix intra-doc link formatting
Replace intra-doc links with explicit URLs for types that are
not accessible from the current module scope, and add missing
panic documentation section.
Diffstat (limited to 'mingling_core/src/asset')
| -rw-r--r-- | mingling_core/src/asset/global_resource.rs | 2 | ||||
| -rw-r--r-- | mingling_core/src/asset/help.rs | 4 | ||||
| -rw-r--r-- | mingling_core/src/asset/routable.rs | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/mingling_core/src/asset/global_resource.rs b/mingling_core/src/asset/global_resource.rs index 06731f7..27ccfe4 100644 --- a/mingling_core/src/asset/global_resource.rs +++ b/mingling_core/src/asset/global_resource.rs @@ -1158,7 +1158,7 @@ where /// /// # Usage /// -/// `GlobalResource<ResType>` implements [`Deref`] (with target type `ResType`), so it can be +/// `GlobalResource<ResType>` implements [`Deref`](https://doc.rust-lang.org/stable/core/ops/trait.Deref.html) (with target type `ResType`), so it can be /// dereferenced directly like `&ResType` to access the underlying value: /// /// ``` diff --git a/mingling_core/src/asset/help.rs b/mingling_core/src/asset/help.rs index 78da1d1..4c20928 100644 --- a/mingling_core/src/asset/help.rs +++ b/mingling_core/src/asset/help.rs @@ -2,8 +2,8 @@ use crate::RenderResult; /// Mingling's program help request. /// -/// It provides help capability to a program by binding an entry type. When [`Program`]'s `user_context.help` is `true`, -/// the first Entry produced by [`Dispatcher`] will be sent into [`HelpRequest`] and rendered into a [`RenderResult`] for the user. +/// It provides help capability to a program by binding an entry type. When [`Program`](https://docs.rs/mingling/latest/mingling/struct.Program.html)'s `user_context.help` is `true`, +/// the first Entry produced by [`Dispatcher`](https://docs.rs/mingling/latest/mingling/trait.Dispatcher.html) will be sent into [`HelpRequest`] and rendered into a [`RenderResult`] for the user. /// /// # Manual impl /// diff --git a/mingling_core/src/asset/routable.rs b/mingling_core/src/asset/routable.rs index 7ed0fb4..7381b48 100644 --- a/mingling_core/src/asset/routable.rs +++ b/mingling_core/src/asset/routable.rs @@ -3,7 +3,7 @@ use crate::{AnyOutput, ChainProcess, Grouped, ProgramCollect}; /// Represents a type that can be routed within a group. /// /// Used to indicate that a group member can be routed into another [`ChainProcess`] -/// within the execution logic of a [`Chain`]. +/// within the execution logic of a [`Chain`](https://docs.rs/mingling/latest/mingling/trait.Chain.html). /// /// # Blanket impl /// |
