Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. #![feature(async_await)]
  2.  
  3. struct A;
  4.  
  5. impl A {
  6. async fn foo<'a, 'b>(&'a self, f: &'b u32) -> &'a A {
  7. self
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement