What Rust Can Do That Other Languages Can’t
struct X { y: Y } impl X { fn y(&self) -> &Y { &self.y } } This defines an aggregate type containing a field y of type Y directly (no...
Read more »
Exploring idiomatic methods of handling runtime errors in Rust.
Read more