News for hackers. Stuff that matters.
Re:Notes on a Smaller Rust by _bxg1 on Thursday July 18, 2019 @10:28AM (#20470120)
What I meant was the fact that you can omit the "return" keyword:

  fn foo(x: i32) -> i32 { x * 2 }
Re:Notes on a Smaller Rust by steveklabnik on Thursday July 18, 2019 @10:47AM (#20470362)
Right, but only as the last expression in a block, which is different than what "implicit returns" implies.