fn words() -> Vec<&'static str> {
    #[cfg(feature = "en")]
    let list = include_str!("../words/en.txt");

    let words: Vec<&'static str> = list.lines().collect();
    assert_eq!(words.len(), 256);
    // assert!(words.is_sorted()); // nightly only for now, see https://github.com/rust-lang/rust/issues/53485
    for word in &words {
        assert!(word.len() < 7);
    }
    words
}
/// Return the list of words used for doing conversion. The words are
/// read from a source file at compile time. The word list must have
/// exactly 256 words, all in lowercase, and sorted alphabetically so
/// that the list can be binary-searched. Care should be taken to avoid
/// words that are commonly mis-spelled or that may have multiple valid
/// spellings.
Return the list of words used for doing conversion. The words are
read from a source file at compile time. The word list must have
exactly 256 words, all in lowercase, and sorted alphabetically so
that the list can be binary-searched. Care should be taken to avoid
words that are commonly mis-spelled or that may have multiple valid
spellings.
Return the list of words used for doing conversion . The words are read from a source file at compile time . The word list must have exactly 256 words all in lowercase and sorted alphabetically so that the list can be binary - searched . Care should be taken to avoid words that are commonly mis - spelled or that may have multiple valid spellings .
fn words() -> Vec<&'static str> {
    #[cfg(feature = "en")]
    let list = include_str!("../words/en.txt");
    let words: Vec<&'static str> = list.lines().collect();
    assert_eq!(words.len(), 256);
    // assert!(words.is_sorted()); // nightly only for now, see https://github.com/rust-lang/rust/issues/53485
    for word in &words {
        assert!(word.len() < 7);
    }
    words
}
fn words ( ) -> Vec < & ' static str > { # [ cfg ( feature " " ) ] let list = include_str ! ( " " ) ; let words : Vec < & ' static str > = list . lines ( ) . collect ( ) ; assert_eq ! ( words len ( ) 256 ) ; // assert!(words.is_sorted()); // nightly only for now, see https://github.com/rust-lang/rust/issues/53485 for word in & words { assert ! ( word len ( ) 7 ) ; } words }
Return the list of words used for doing conversion.
Return the list of words used for doing conversion .