Macro color_print::untagged [−][src]
untagged!() { /* proc-macro */ }Expand description
Removes all the color tags from the given string literal.
Accepts only one argument.
Example
let s: &str = untagged!("A <g>normal</> word");
assert_eq!(s, "A normal word");