Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 13th, 2018
92
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
trait A {
fn foo<T>(&self, t: T) -> T;
}
struct B {}
impl A for B {
fn foo<T>(&self, t: T) -> T { t }
}
fn bar(a: Box<A>) -> i32 {
a.foo::<i32>(0)
}
fn main() {}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Gerenciador de Senhas Version 1.0
Python | 57 min ago | 6.77 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 1 hour ago | 0.37 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 1 hour ago | 0.39 KB
Bash script to update T-Mobile Router Config
Bash | 1 hour ago | 3.82 KB
wheat_harvester
Lua | 1 hour ago | 1.94 KB
Most Writer B (Novely)
Dart | 1 hour ago | 0.29 KB
Popup Box
HTML | 1 hour ago | 3.60 KB
conversão de dinheiro..
Python | 2 hours ago | 0.88 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!