mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-31 07:02:27 -08:00
MAINT: Apply 'pre-commit run --all' and fix issues
This commit is contained in:
@@ -4,7 +4,7 @@ use std::io;
|
||||
fn main() {
|
||||
//DATA
|
||||
let mut points: usize = 100;
|
||||
let mut rng = thread_rng();
|
||||
let mut rng = thread_rng();
|
||||
let mut number:u8;
|
||||
|
||||
//print welcome message
|
||||
@@ -39,7 +39,7 @@ fn main() {
|
||||
println!("YOU HAVE {} POINTS.", points);
|
||||
}
|
||||
|
||||
//print
|
||||
//print
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -57,7 +57,6 @@ fn welcome() {
|
||||
|
||||
YOU OCCASIONALLY WILL GET A JACKPOT WHICH WILL DOUBLE(!)
|
||||
YOUR POINT COUNT. YOU WIN WHEN YOU GET 500 POINTS
|
||||
|
||||
|
||||
");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user