From 1198f2b81a845bd475594cdf42d04e7bd750ebd2 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Fri, 14 Aug 2026 00:23:06 +0800 Subject: chore: add "Doc Not Optimize" comments to source files Mark all source files with a comment indicating they are not optimized for documentation purposes. --- mingling_core/src/comp/comp_ctx.rs | 1 + mingling_core/src/comp/flags.rs | 1 + mingling_core/src/comp/shell_ctx.rs | 1 + mingling_core/src/comp/suggest.rs | 1 + 4 files changed, 4 insertions(+) (limited to 'mingling_core/src/comp') 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 Program 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; -- cgit