aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-15 07:32:07 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-15 19:47:52 +0800
commitaa2b0daa88089df32b3ea67d7c1831b5d8fd64f8 (patch)
tree547b4f0825e3b1428afbe13a41fca672854db7d6
parent28e8dc507e6a134e640bd99003eaba6ceb4fc15d (diff)
chore: replace intra-doc links with plain code spans
-rw-r--r--mingling/src/res/confirmer.rs4
-rw-r--r--mingling/src/res/osc94.rs6
-rw-r--r--mingling/src/setups/osc94.rs2
3 files changed, 6 insertions, 6 deletions
diff --git a/mingling/src/res/confirmer.rs b/mingling/src/res/confirmer.rs
index 900562b..d92e2a0 100644
--- a/mingling/src/res/confirmer.rs
+++ b/mingling/src/res/confirmer.rs
@@ -4,12 +4,12 @@ use std::io::{BufRead, Write};
///
/// This structure caches the confirmed state to avoid repeated prompts.
///
-/// Typically, `Confirmer` is registered via [`ConfirmerSetup`], and then injected into functions
+/// Typically, `Confirmer` is registered via `ConfirmerSetup`, and then injected into functions
/// through Mingling's resource injection system.
///
/// # Registration
///
-/// Before use, the [`ConfirmerSetup`] must be registered with the program:
+/// Before use, the `ConfirmerSetup` must be registered with the program:
///
/// ```
/// # use mingling::MockProgramCollect as ThisProgram;
diff --git a/mingling/src/res/osc94.rs b/mingling/src/res/osc94.rs
index 8f873aa..3c80290 100644
--- a/mingling/src/res/osc94.rs
+++ b/mingling/src/res/osc94.rs
@@ -6,12 +6,12 @@ pub use state::*;
/// Provides support for the `OSC 9;4` protocol. You can inject it into the execution flow
/// through Mingling's resource injection system, and use it to control your process state.
///
-/// Typically, `OSC94` is registered via [`OSC94Setup`], and then injected into functions
+/// Typically, `OSC94` is registered via `OSC94Setup`, and then injected into functions
/// through Mingling's resource injection system.
///
/// # Registration
///
-/// Before use, the [`OSC94Setup`] must be registered with the program:
+/// Before use, the `OSC94Setup` must be registered with the program:
///
/// ```
/// # use mingling::MockProgramCollect as ThisProgram;
@@ -70,7 +70,7 @@ impl OSC94 {
/// A guard for modifying process state.
///
/// Obtained via [`OSC94::get_mut`]. When the guard is dropped, the process state is
-/// automatically restored to [`OS94State::Clean`], so no manual cleanup is needed.
+/// automatically restored to `OS94State::Clean`, so no manual cleanup is needed.
///
/// # Example
///
diff --git a/mingling/src/setups/osc94.rs b/mingling/src/setups/osc94.rs
index 2f9a319..548005a 100644
--- a/mingling/src/setups/osc94.rs
+++ b/mingling/src/setups/osc94.rs
@@ -34,7 +34,7 @@ use crate::res::OSC94;
/// # Notes
///
/// - The support state is determined at setup time and stored in the resource store.
-/// - Use [`OSC94Message`] to construct and send progress notification messages.
+/// - Use `OSC94Message` to construct and send progress notification messages.
pub struct OSC94Setup;
impl<C> ProgramSetup<C> for OSC94Setup