Mutability
Variable bindings are immutable by default, but this can be overridden using
the mut
modifier.
The compiler will throw a detailed diagnostic about mutability errors.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
Variable bindings are immutable by default, but this can be overridden using
the mut
modifier.
The compiler will throw a detailed diagnostic about mutability errors.