Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Feb 16th, 2019
94
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
fn main() {
let my_array = (0..).take(100);
let mut odds = vec![];
my_array.filter(|x| x % 2 != 0).for_each(|odd| odds.push(odd));
println!("{:?}", odds);
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 2 min ago | 0.38 KB
Untitled
C++ | 4 min ago | 0.63 KB
Untitled
Python | 38 min ago | 1.13 KB
Untitled
Python | 46 min ago | 7.73 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 52 min ago | 0.39 KB
Untitled
C | 1 hour ago | 4.54 KB
Untitled
Java | 1 hour ago | 0.52 KB
haircut.py
Python | 1 hour ago | 0.69 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!