Sign in
rust
/
rust-by-example
/
refs/heads/macros
/
.
/
examples
/
borrow
/
freeze
/
input.md
blob: ca1076317911c56f94557e89c7a5831e4bd684f2 [
file
] [
log
] [
blame
] [
view
] [
edit
]
When
data
is
borrowed
,
it also
*
freezes
*.
*
Frozen
*
data can
't be modified via
the original object, until all the references to it go out of scope.
{freeze.play}