Function textwrap::core::break_words[][src]

pub fn break_words<'a, I>(words: I, line_width: usize) -> Vec<Word<'a>> where
    I: IntoIterator<Item = Word<'a>>, 
Expand description

Forcibly break words wider than line_width into smaller words.

This simply calls Word::break_apart on words that are too wide. This means that no extra '-' is inserted, the word is simply broken into smaller pieces.