Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn main() {
- let s = String::from("foo");
- let f = move || s;
- f();
- f();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement