diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-08-14 00:23:06 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-08-14 00:23:06 +0800 |
| commit | 1198f2b81a845bd475594cdf42d04e7bd750ebd2 (patch) | |
| tree | cdeaa872cd704dd579771c5e63c8e0026be1d5e8 /mingling/src/res | |
| parent | 1f2462ae53446c37c6cfe53a57ea86f695c4ef0a (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/src/res')
| -rw-r--r-- | mingling/src/res/dirs.rs | 1 | ||||
| -rw-r--r-- | mingling/src/res/dirs/current_dir.rs | 1 | ||||
| -rw-r--r-- | mingling/src/res/dirs/current_exe.rs | 1 | ||||
| -rw-r--r-- | mingling/src/res/dirs/home_dir.rs | 1 | ||||
| -rw-r--r-- | mingling/src/res/dirs/temp_dir.rs | 1 | ||||
| -rw-r--r-- | mingling/src/res/exit_code.rs | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/mingling/src/res/dirs.rs b/mingling/src/res/dirs.rs index 0a0a590..2734aa3 100644 --- a/mingling/src/res/dirs.rs +++ b/mingling/src/res/dirs.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize mod current_dir; pub use current_dir::*; diff --git a/mingling/src/res/dirs/current_dir.rs b/mingling/src/res/dirs/current_dir.rs index 2dd6633..633130d 100644 --- a/mingling/src/res/dirs/current_dir.rs +++ b/mingling/src/res/dirs/current_dir.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize use std::{ env::current_dir, path::{Path, PathBuf}, diff --git a/mingling/src/res/dirs/current_exe.rs b/mingling/src/res/dirs/current_exe.rs index a2afc0b..8d27554 100644 --- a/mingling/src/res/dirs/current_exe.rs +++ b/mingling/src/res/dirs/current_exe.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize use std::{ env::current_exe, path::{Path, PathBuf}, diff --git a/mingling/src/res/dirs/home_dir.rs b/mingling/src/res/dirs/home_dir.rs index f5908de..56a0ad7 100644 --- a/mingling/src/res/dirs/home_dir.rs +++ b/mingling/src/res/dirs/home_dir.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize use std::path::{Path, PathBuf}; /// A global resource that provides the current user's home directory path. diff --git a/mingling/src/res/dirs/temp_dir.rs b/mingling/src/res/dirs/temp_dir.rs index c79a974..86df460 100644 --- a/mingling/src/res/dirs/temp_dir.rs +++ b/mingling/src/res/dirs/temp_dir.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize use std::{ env::temp_dir, path::{Path, PathBuf}, diff --git a/mingling/src/res/exit_code.rs b/mingling/src/res/exit_code.rs index 93ce98b..44798bf 100644 --- a/mingling/src/res/exit_code.rs +++ b/mingling/src/res/exit_code.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize use mingling_core::{ProgramCollect, this}; /// Represents a program exit code. |
