diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-07 03:13:34 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-07 03:13:34 +0800 |
| commit | 3ea5d62e980975d0a888293d875f26fc267cd368 (patch) | |
| tree | 04af421148a4efbb001928cce0d7d386bd94027e /mling/src/cargo_style.rs | |
| parent | 21defab2fc95f1e1d0639b66ab2c449266a114fe (diff) | |
Refactor CLI entry points and move main logic to library
Diffstat (limited to 'mling/src/cargo_style.rs')
| -rw-r--r-- | mling/src/cargo_style.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mling/src/cargo_style.rs b/mling/src/cargo_style.rs index 048e75f..f127cc9 100644 --- a/mling/src/cargo_style.rs +++ b/mling/src/cargo_style.rs @@ -17,7 +17,7 @@ use colored::Colorize; /// /// # Examples /// -/// ``` +/// ```ignore /// format_cargo!("Compiling: hello.rs"); /// // Output: " Compiling hello.rs" (green bold "Compiling" padded to 12) /// ``` @@ -40,7 +40,7 @@ macro_rules! format_cargo { /// /// # Examples /// -/// ``` +/// ```ignore /// eformat_cargo!("failed to parse input"); /// // Output: "error: failed to parse input" (red bold "error") /// ``` @@ -63,7 +63,7 @@ macro_rules! eformat_cargo { /// /// # Examples /// -/// ``` +/// ```ignore /// println_cargo!("Compiling: hello.rs"); /// ``` #[macro_export] @@ -85,7 +85,7 @@ macro_rules! println_cargo { /// /// # Examples /// -/// ``` +/// ```ignore /// eprintln_cargo!("failed to parse input"); /// ``` #[macro_export] |
