[][src]Function lipsum::lipsum_words

pub fn lipsum_words(n: usize) -> String

Generate n random words of lorem ipsum text.

The text starts with a random word from LOREM_IPSUM. Multiple sentences may be generated, depending on the punctuation of the words being selected.

Examples

use lipsum::lipsum_words;

println!("{}", lipsum_words(6));
// -> "Propter soliditatem, censet in infinito inani."