Rust:
fn getofmylawn(lawn: Lawn) -> bool {
lawn.remove()
}
C:
bool getofmylawn(Lawn lawn) {
return lawn.remove();
}
With Rust you safe 1 char, and gain needing to skip a whole line to see what type something is.
Rust:
fn getofmylawn(lawn: Lawn) -> bool {
lawn.remove()
}
C:
bool getofmylawn(Lawn lawn) {
return lawn.remove();
}
With Rust you safe 1 char, and gain needing to skip a whole line to see what type something is.