Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
[Rust] Iterate a vector with an iterator.
cwchen
Aug 22nd, 2017
790
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Rust
0.12 KB
| None
|
0
0
raw
download
clone
embed
print
report
fn
main
(
)
{
let
vec
=
vec
!
[
1
,
2
,
3
]
;
for
element
in
vec.iter
(
)
{
println
!
(
"{}"
,
element
)
;
}
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
⭐⭐ Free Crypto Method ⭐ ⭐✅
JavaScript | 11 sec ago | 0.67 KB
Infinite Money Glitch
JavaScript | 21 sec ago | 0.67 KB
🎯🎯 +50,000$ in 1 month⭐ 🎯⭐
JavaScript | 1 min ago | 0.67 KB
✅✅ Huge JS NODE Glitch on Swapzone ✅✅
JavaScript | 1 min ago | 0.67 KB
⚡ Earn 8,000$ Monthly Leaked Guide 🎯🎯
JavaScript | 2 min ago | 0.67 KB
💵💵 EASY MONEY TRICK
JavaScript | 2 min ago | 0.67 KB
⭐⭐ FREE BTC GUIDE ✅ Working ✅✅
JavaScript | 3 min ago | 0.67 KB
⭐⭐ Instant Money Method ⭐⭐
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!