use std::iter;
iter::repeat("Nope").map(|x|println!("{}",x)).collect::<Vec<_>>();
still not sure what i did there but it works and does what i want :D #rust #programming
-
-
iter::repeat("Thank you :)").for_each(|x| println!("{}",x)); looks much cleaner
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.