Advertisement
cwchen

[Rust][excerpt] Lifetime with mutation

Aug 27th, 2017
1,492
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rust 0.05 KB | None | 0 0
  1. fn foo<'a>(x: &'a mut i32) {
  2.     // Do something
  3. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement