macro_rules! fluff_up {
([ $( $line:literal ),+ $(,)?] $( @ $prefix:literal)?) => { ... };
($($line:literal ),+ $(,)? ) => { ... };
($($line:literal ),+ $(,)? @ $prefix:literal ) => { ... };
}Expand description
A helper macro creating valid doc string using the macro syntax
/// ....
Example:
let x = fluff_up!(["some", "thing"]);
let y = r#"/// some
/// thing
struct Fluff;"#;
assert_eq!(x,y);