Guest User

Untitled

a guest
Sep 26th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #![allow(dead_code)]
  2.  
  3. struct Foo {
  4. x: u32,
  5. y: u32,
  6. }
  7.  
  8. impl Foo {
  9. fn f(foos: &[Self]) -> impl Iterator<Item=&Self> {
  10. foos.iter()
  11. }
  12. }
  13.  
  14. fn main () {}
Add Comment
Please, Sign In to add comment