generated from PlexSheep/rs-base
automatic cargo CI changes
This commit is contained in:
parent
aba6c723da
commit
c36e7fc6b3
|
@ -71,7 +71,11 @@ fn main() -> anyhow::Result<()> {
|
|||
}
|
||||
}
|
||||
if response.won() {
|
||||
println!("You win! You took {} guesses. {:?}", game.step() - 1, game.solution());
|
||||
println!(
|
||||
"You win! You took {} guesses. {:?}",
|
||||
game.step() - 1,
|
||||
game.solution()
|
||||
);
|
||||
} else {
|
||||
println!("You lose! The solution was {:?}.", game.solution());
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@ impl<'wl, WL: WordList> Game<'wl, WL> {
|
|||
solution,
|
||||
wordlist: wlist,
|
||||
finished: false,
|
||||
responses: Vec::new()
|
||||
responses: Vec::new(),
|
||||
};
|
||||
|
||||
Ok(game)
|
||||
|
|
Loading…
Reference in New Issue