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/dirs | |
| 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/dirs')
| -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 |
4 files changed, 4 insertions, 0 deletions
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}, |
