mirror of
https://github.com/foo-dogsquared/wiki.git
synced 2025-01-30 22:57:59 +00:00
8d88983e21
Not all changes are here though.
639 B
639 B
Rust language
- Rust handbook
- Haskell with the familiarity of C
- variables are immutable by default and has to be annotated with the
mut
keyword; for full immutability, you can declare constants with theconst
keyword and has to be type-annotated - namespacing is available through
mod
and all of the items are private by default; if you intended an item to be accessed with others, you have to add thepub
keyword