macro_rules! lorem {
($length:expr) => { ... };
() => { ... };
}
Expand description
Generates lorem rustum text with given length or with default length if no argument was passed.
Examples
use lorem_rustum::{LoremRustum, lorem};
let text: String = lorem!(17);
println!("{}", lorem!(5));
println!("{}", lorem!());