From 3ea5d62e980975d0a888293d875f26fc267cd368 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 7 Jun 2026 03:13:34 +0800 Subject: Refactor CLI entry points and move main logic to library --- mling/src/cargo_style.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mling/src/cargo_style.rs') 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] -- cgit