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…

Similar

Rust: Mental models around Ok-Wrapping

I’m a bit reluctant writing this, because it’s about a controversial and sensitive topic. Yet, after two days of sleeping on it, I hope this’ll hopefully not cause any more heated discussions and may help some mutual understanding. (more…)

Read more »