2 ms·
i did not get it until learning rust. and only then u realized that: if let Some(msg) = read_message(&mut stream) { is the same as if msg := read_message(stream
by tretiy3 1y ago
i did not get it until learning rust. and only then u realized that:
if let Some(msg) = read_message(&mut stream) {
is the same as
if msg := read_message(stream):