no remember sync

This commit is contained in:
Guillermo Roche 2022-11-12 13:41:45 +01:00
parent bb6c062be4
commit dbdfab1fd6

View File

@ -27,10 +27,8 @@ fn process_reques(mut stream: TcpStream) {
fn check_state(buf: &mut [u8; 256], len: usize) {
let var = String::from_utf8(buf[0 .. len-2].to_vec()).unwrap();
//let var = String::from("some");
match var.as_str(){
"some" => println!("entra"),
_=> println!("pos no {}", var),
}
println!("len {}", var.len());
}