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
9d011ebf67
rust
/
src
/
test
/
run-pass
/
borrowck-wg-simple.rs
9 lines
96 B
Rust
Raw
Normal View
History
Unescape
Escape
librustc: Implement write guards for borrowing `@mut` to `&` or `&mut`. r=nmatsakis
2013-01-11 23:01:42 -06:00
fn
f
(
x
:
&
int
)
{
io
::
println
(
x
.
to_str
(
)
)
;
}
check-fast fallout from removing export, r=burningtree
2013-02-01 21:43:17 -06:00
pub
fn
main
(
)
{
librustc: Implement write guards for borrowing `@mut` to `&` or `&mut`. r=nmatsakis
2013-01-11 23:01:42 -06:00
let
x
=
@
mut
3
;
f
(
x
)
;
}
Reference in New Issue
Copy Permalink