fn from(sentence: String) -> Sentence {
    let words = sentence
      .split_whitespace()
      .map(|e| String::from(e))
      .collect::<Vec<String>>();

    Sentence(words)
  }
/// Transform a String first into a sequence of words, and then
/// the Sentence type, by way of splitting on whitespace and
/// and collecting as a Vec.
Transform a String first into a sequence of words, and then
the Sentence type, by way of splitting on whitespace and
and collecting as a Vec.
Transform a String first into a sequence of words and then the Sentence type by way of splitting on whitespace and and collecting as a Vec .
fn from(sentence: String) -> Sentence {
    let words = sentence
      .split_whitespace()
      .map(|e| String::from(e))
      .collect::<Vec<String>>();
    Sentence(words)
  }
fn from ( sentence : String ) -> Sentence { let words = sentence . split_whitespace ( ) . map ( | e | String :: from ( e ) ) . collect :: < Vec < String > > ( ) ; Sentence ( words ) }
Transform a String first into a sequence of words, and then
the Sentence type, by way of splitting on whitespace and
and collecting as a Vec.
Transform a String first into a sequence of words and then the Sentence type by way of splitting on whitespace and and collecting as a Vec .
sentence
String