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

    Sentence(words)
  }
/// Transform a &str into a sequence of words,
/// and then the Sentence type.
Transform a &str into a sequence of words,
and then the Sentence type.
Transform a &str into a sequence of words and then the Sentence type .
fn from(sentence: &'a str) -> Sentence {
    let words = sentence
      .split_whitespace()
      .map(|e| String::from(e))
      .collect::<Vec<String>>();
    Sentence(words)
  }
fn from ( sentence : & ' a str ) -> Sentence { let words = sentence . split_whitespace ( ) . map ( | e | String :: from ( e ) ) . collect :: < Vec < String > > ( ) ; Sentence ( words ) }
Transform a &str into a sequence of words,
and then the Sentence type.
Transform a &str into a sequence of words and then the Sentence type .
sentence
&'a str