Closed
Description
Just a reminder: once lifetime elision in impl headers (see tracking issue) is stable, the generated code should use that feature. So instead of:
impl<'a, T> Foo for &'a T {}
It will be (at least I think that's the syntax):
impl<T> Foo for &T {}
Same for &mut
.
This does matter as the generated code ends up in the docs. And we want that code to be as idiomatic as possible.