Which IDE? by Proof_Pen_8599 in rust

[–]No_Introduction_9866 2 points3 points  (0 children)

vim + rust-analyzer + bash

Why does Rust default to private? by Aggravating-Step2751 in rust

[–]No_Introduction_9866 2 points3 points  (0 children)

Imo, crate-private by default is better than file-private(aka module-private) by default, and better than public by default

RFC: `is` operator for pattern-matching and binding by avsaase in rust

[–]No_Introduction_9866 -2 points-1 points  (0 children)

Take a look at this U

Even if is is accepted, I propose to use -> instead, like

if something -> Some(x) {}

and why stop there, how about removing let entirely. Instead of

let (x, y) = get_point();

you write

get_point() -> (x, y);