Skip to content

Instantly share code, notes, and snippets.

@killerswan
Created September 27, 2014 00:16
Show Gist options
  • Save killerswan/670b92285f0626bf1d95 to your computer and use it in GitHub Desktop.
Save killerswan/670b92285f0626bf1d95 to your computer and use it in GitHub Desktop.
struct Foo {
x: int
}
struct Bar<'a> {
foo: &'a Foo
}
trait Baz {
fn baz();
}
impl Baz for Bar<'static> {
fn baz() {}
}
fn main() {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment