dwrensha/capnproto-rust — pull request #18 by erickt (2014-11-10 17:29:29+00:00)
Title: Avoid leaking internal pointers with 'static lifetimes

the `get_root` methods were tripping over the bug https://github.com/rust-lang/rust/issues/13853, which is unable to handle a method like `fn foo<'a, T: Bar<'a>>(...)`. This PR avoids that bug by moving the lifetime onto the trait.