daily pastebin goal
4%
SHARE
TWEET

Untitled

a guest Sep 26th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 () {}
RAW Paste Data
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
 
Top