aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/comp
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-14 00:23:06 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-14 00:23:06 +0800
commit1198f2b81a845bd475594cdf42d04e7bd750ebd2 (patch)
treecdeaa872cd704dd579771c5e63c8e0026be1d5e8 /mingling_core/src/comp
parent1f2462ae53446c37c6cfe53a57ea86f695c4ef0a (diff)
chore: add "Doc Not Optimize" comments to source files
Mark all source files with a comment indicating they are not optimized for documentation purposes.
Diffstat (limited to 'mingling_core/src/comp')
-rw-r--r--mingling_core/src/comp/comp_ctx.rs1
-rw-r--r--mingling_core/src/comp/flags.rs1
-rw-r--r--mingling_core/src/comp/shell_ctx.rs1
-rw-r--r--mingling_core/src/comp/suggest.rs1
4 files changed, 4 insertions, 0 deletions
diff --git a/mingling_core/src/comp/comp_ctx.rs b/mingling_core/src/comp/comp_ctx.rs
index 6384909..f2b83e6 100644
--- a/mingling_core/src/comp/comp_ctx.rs
+++ b/mingling_core/src/comp/comp_ctx.rs
@@ -1,3 +1,4 @@
+// Doc Not Optimize
use crate::{COMPLETION_SUBCOMMAND, Program, ProgramCollect};
impl<C> Program<C>
diff --git a/mingling_core/src/comp/flags.rs b/mingling_core/src/comp/flags.rs
index 0867122..6285570 100644
--- a/mingling_core/src/comp/flags.rs
+++ b/mingling_core/src/comp/flags.rs
@@ -1,3 +1,4 @@
+// Doc Not Optimize
use just_fmt::snake_case;
/// Represents the shell environment for which the output format is intended.
diff --git a/mingling_core/src/comp/shell_ctx.rs b/mingling_core/src/comp/shell_ctx.rs
index 65ee9e2..78ccb87 100644
--- a/mingling_core/src/comp/shell_ctx.rs
+++ b/mingling_core/src/comp/shell_ctx.rs
@@ -1,3 +1,4 @@
+// Doc Not Optimize
#![allow(deprecated)]
use std::collections::HashSet;
diff --git a/mingling_core/src/comp/suggest.rs b/mingling_core/src/comp/suggest.rs
index 27b227f..7760340 100644
--- a/mingling_core/src/comp/suggest.rs
+++ b/mingling_core/src/comp/suggest.rs
@@ -1,3 +1,4 @@
+// Doc Not Optimize
#![allow(deprecated)]
use std::collections::BTreeSet;