MAINT: Apply 'pre-commit run --all' and fix issues

This commit is contained in:
Martin Thoma
2022-03-10 06:59:21 +01:00
parent ddacedb0b0
commit e7520d62af
22 changed files with 200 additions and 231 deletions

View File

@@ -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
");
}