diff --git a/src/color.rs b/src/color.rs index 52dd93c..ffd795f 100644 --- a/src/color.rs +++ b/src/color.rs @@ -6,7 +6,7 @@ use std::fmt; /// Shortcut to produce a String colored with one or more colors. /// Example: -/// ``` +/// ```ignore /// let s = color_string!("Red string", Red); /// let x = color_string!("Hyperlink-ish", Blue, Underline); macro_rules! color_string { @@ -25,7 +25,7 @@ macro_rules! color_string { } /// Shortcut to produce a color's ANSI escape code. Don't forget to Reset! -/// ``` +/// ```ignore /// let mut o = String::new(); /// o.push_str(color!(Blue)); /// o.push_str(color!(Underline)); @@ -43,7 +43,7 @@ macro_rules! color { /// Create a color:: struct that can be used with format!. /// Example: -/// ``` +/// ```ignore /// define_color(Red, 91); /// define_color(Reset, 0); /// diff --git a/src/menu.rs b/src/menu.rs index 2843d9a..36ad038 100644 --- a/src/menu.rs +++ b/src/menu.rs @@ -1042,7 +1042,7 @@ mod tests { macro_rules! parse { ($s:expr) => { - parse("test", $s.to_string()); + parse("test", $s.to_string()) }; }