This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
6e6798c4e1
rust
/
src
/
test
/
run-pass
/
unique-mutable.rs
5 lines
65 B
Rust
Raw
Normal View
History
Unescape
Escape
Add support for mutable unique boxes Issue #409
2011-09-22 00:17:06 -05:00
fn
main
(
)
{
Bulk-edit mutable -> mut.
2012-03-26 20:35:18 -05:00
let
i
=
~
mut
0
;
Add support for mutable unique boxes Issue #409
2011-09-22 00:17:06 -05:00
*
i
=
1
;
assert
*
i
=
=
1
;
}
Reference in New Issue
Copy Permalink