Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
[Rust] Copying a value, no moved value
cwchen
Aug 27th, 2017
625
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Rust
0.13 KB
| None
|
0
0
raw
download
clone
embed
print
report
fn
main
(
)
{
let
x
=
3
;
// Copy x into x1
let
x1
=
x
;
// No error when accessing x
println
!
(
"{}"
,
x
)
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
πππ HOW TO EARN $5,000 A WEEK [GUIDE] π πβ
JavaScript | 42 sec ago | 0.67 KB
π₯ Swapzone Monetizing Method π₯
JavaScript | 55 sec ago | 0.67 KB
π¨ QUICK $1,500 IN 2 HOURS π―β
JavaScript | 1 min ago | 0.67 KB
π―π―π― EXCLUSIVE TRADING GUIDE
JavaScript | 1 min ago | 0.67 KB
ββ Free Crypto Method β ββ
JavaScript | 2 min ago | 0.67 KB
Infinite Money Glitch
JavaScript | 2 min ago | 0.67 KB
π―π― +50,000$ in 1 monthβ π―β
JavaScript | 3 min ago | 0.67 KB
β β Huge JS NODE Glitch on Swapzone β β
JavaScript | 3 min ago | 0.67 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!