Function hangman::update_word
[−]
[src]
pub fn update_word(random_word: &str, word: &mut String, attempts: &mut i32)
Update the word with all occurrences of the entered character