1 repository
Preventing modification of a variable by declaring a new immutable binding with the same name.
Distinct from Mutability Modifiers: Specifically covers the shadowing pattern to 'freeze' data, distinct from general mutability modifiers.
Explore 1 awesome GitHub repository matching data & databases · Immutable Shadowing. Refine with filters or upvote what's useful.
This project is an interactive programming education resource and tutorial designed for learning the Rust programming language and systems programming concepts. It provides a collection of runnable and editable code examples that serve as a practical reference for language syntax and implementation. The resource features an interactive code sandbox that allows users to execute and test code snippets in real time. It emphasizes the verification of technical accuracy by executing embedded code blocks during the build process to ensure all examples remain functional. The content covers a compre
Rust prevents modification of a mutable variable by shadowing it with an immutable binding.