@@ -45,7 +45,7 @@ fn check_single(query: Option<&str>, the_word: String) -> Vec<u8> {
45
45
let the_guess = the_params_parts. 0 ;
46
46
let the_guess_parts = the_guess. split_once ( "=" ) . unwrap ( ) ;
47
47
let guess = the_guess_parts. 1 ;
48
- println ! ( "The guess: {}" , guess) ;
48
+ // println!("The guess: {}", guess);
49
49
50
50
let guess_size: usize = guess. len ( ) as usize ;
51
51
if guess_size == 5 {
@@ -84,10 +84,10 @@ fn check_multi(query: Option<&str>, guesses: Rc<RefCell<Vec<String>>>, matches:
84
84
let the_player = the_params_parts. 1 ;
85
85
let the_guess_parts = the_guess. split_once ( "=" ) . unwrap ( ) ;
86
86
let guess = the_guess_parts. 1 ;
87
- println ! ( "The guess: {}" , guess) ;
87
+ // println!("The guess: {}", guess);
88
88
let the_player_parts = the_player. split_once ( "=" ) . unwrap ( ) ;
89
89
let player = the_player_parts. 1 ;
90
- println ! ( "The player: {}" , player) ;
90
+ // println!("The player: {}", player);
91
91
92
92
// Wrong word size
93
93
let word_size: usize = guess. len ( ) as usize ;
@@ -127,17 +127,17 @@ fn check_multi(query: Option<&str>, guesses: Rc<RefCell<Vec<String>>>, matches:
127
127
// Push word to matches
128
128
matches. borrow_mut ( ) . push ( guess. to_string ( ) ) ;
129
129
response = vec ! [ b'p' ; 5 ] ;
130
- println ! ( "New match: {}" , guess. to_string( ) ) ;
130
+ // println!("New match: {}", guess.to_string());
131
131
132
132
// Push winners
133
133
winners. borrow_mut ( ) . push ( player. to_string ( ) ) ;
134
134
winners. borrow_mut ( ) . push ( winner. to_string ( ) ) ;
135
- println ! ( "Winners: {}, {}" , player. to_string( ) , winner. to_string( ) ) ;
135
+ // println!("Winners: {}, {}", player.to_string(), winner.to_string());
136
136
} else {
137
137
// Push new word to guesses
138
138
guesses. borrow_mut ( ) . push ( guess. to_string ( ) ) ;
139
139
players. borrow_mut ( ) . push ( player. to_string ( ) ) ;
140
- println ! ( "New word: {}" , guess. to_string( ) ) ;
140
+ // println!("New word: {}", guess.to_string());
141
141
}
142
142
143
143
}
0 commit comments