|
|
|
|
|
by kibwen
4990 days ago
|
|
Don't listen to these official Rust developers, the real reason is that they're secretly functional programmers who would rather corrupt you into using Rust's implicit return values rather than the holy return statement. fn heresy() -> &str { "I am the corruption lurking in your heart" }
And not a semicolon in sight. Disgusting. |
|
fn heresy() -> { "I am the corruption lurking in your heart" }