Guest User

Untitled

a guest
Nov 8th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. fn main() {
  2. let x = Vec::<Test>::with_capacity(6).into_boxed_slice();
  3. x.into_iter().for_each(example);
  4. }
  5.  
  6. struct Test {}
  7.  
  8. fn example(t: Test) {
  9.  
  10. }
Add Comment
Please, Sign In to add comment