split

Function split 

Source
pub fn split<S: AsRef<str>>(input: S) -> Document
Expand description

Create a document by splitting input on line breaks so ensure the invariants of text are upheld.