You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LukasKalbertodt
changed the title
Use in-band lifetimes in generated impls for '&' and '&mut' once stable
Use impl header lifetime elision in generated impls for '&' and '&mut' once stable
Oct 2, 2018
As discussed in #44 implementing this is probably not really worth it. I will close this issue for now. If someone thinks this issue is absolutely worth solving, we can reopen.
Just a reminder: once lifetime elision in impl headers (see tracking issue) is stable, the generated code should use that feature. So instead of:
It will be (at least I think that's the syntax):
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.
The text was updated successfully, but these errors were encountered: