Sign in
rust
/
rust-by-example
/
refs/heads/macros
/
.
/
examples
/
variables
/
mut
/
input.md
blob: 309d762dd3958d1aa9a0d83c982dde6b38746714 [
file
] [
log
] [
blame
] [
view
] [
edit
]
Variables
are immutable
by
default
,
but
this
can be overridden
using
the
`mut`
modifier
.
{
mut
.
play
}
The
compiler will
throw
a detailed diagnostic about mutability errors
.