From aa2b0daa88089df32b3ea67d7c1831b5d8fd64f8 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 15 Aug 2026 07:32:07 +0800 Subject: chore: replace intra-doc links with plain code spans --- mingling/src/res/confirmer.rs | 4 ++-- mingling/src/res/osc94.rs | 6 +++--- mingling/src/setups/osc94.rs | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'mingling') 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 ProgramSetup for OSC94Setup -- cgit