top | item 46340736

(no title)

afdbcreid | 2 months ago

The only things in Rust that are real statements are `let` statements, and item statements (e.g. declaring an `fn` inside a function). All other statements are in fact expressions, although some always return `()` so they're not really useful as such.

discuss

order

IshKebab|2 months ago

Surely declaring structs, traits, top-level functions, etc?