Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jan 12th, 2019
104
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.14 KB
| None
|
0
0
raw
download
clone
embed
print
report
fn make_closure<'a, T>(val: T) -> impl Fn() -> &'a T + 'a
{
move || &val
}
fn main()
{
let f = make_closure(42);
println!("{}", f())
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
💎 🔥 Exchange profit method 📝💵
JavaScript | 7 min ago | 0.20 KB
📌 EASY PROFIT GUIDE ✅ Still works 🔥 🚨
JavaScript | 9 min ago | 0.20 KB
✅ 💎 Free BTC method 🚨 🔥
JavaScript | 26 min ago | 0.20 KB
💡 🚨 Free Crypto Method 🚨 🔥✅
JavaScript | 34 min ago | 0.20 KB
Album Shelf Code
HTML | 38 min ago | 8.31 KB
📌 Free Crypto Method 🔥 🚨
JavaScript | 43 min ago | 0.20 KB
✅ 💎 Instant BTC Profit Method ✅ Working 🚨 🔥
JavaScript | 60 min ago | 0.20 KB
⭐💡 EASY MONEY GUIDE ✅ Working ✅💵
JavaScript | 1 hour ago | 0.20 KB
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
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!