Toot

Written by SnackTraces on 2025-01-18 at 14:42

The thing that makes me uneasy so far in learning Rust:

return statements are ofteb unnecessary

One can simply

fn add_two_numbers(a, b) {

a + b

}

It sort of freaks me out seeing no "return a + b"

=> More informations about this toot | View the thread | More toots from snacktraces@hachyderm.io

Mentions

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113849881278799618
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
221.638698 milliseconds
Gemini-to-HTML Time
0.43717 milliseconds

This content has been proxied by September (3851b).