This website requires JavaScript.
Explore
Help
Sign In
3025014
/
PR3-Rust-SS26
Watch
1
Star
1
Fork
You've already forked PR3-Rust-SS26
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
main
PR3-Rust-SS26
/
D-ownership
/
example-code
/
03-borrowing
/
scoped-multiple-references.rs
10 lines
113 B
Rust
Raw
Permalink
Blame
History
fn
main
(
)
{
let
mut
s
=
String
::
from
(
"
hello
"
)
;
{
let
r1
=
&
mut
s
;
}
let
r2
=
&
mut
s
;
}
Reference in New Issue
View Git Blame
Copy Permalink