Stream: rustdoc

Topic: SelfTy


view this post on Zulip Eric Huss (Apr 21 2021 at 15:59):

@Joshua Nelson Hey, I was going to backport #83678 and I noticed you made the comment "FWIW I see this as low-risk - it just makes the URL look uglier". It seems like it is more than just the URL, right? Like the docs now say the keyword is SelfTy which seems wrong? I just wanted to double check that was understood.

image.png

view this post on Zulip Joshua Nelson (Apr 21 2021 at 15:59):

the url and the keyword, yes

view this post on Zulip Eric Huss (Apr 21 2021 at 16:00):

ok, thanks!

view this post on Zulip Joshua Nelson (Apr 21 2021 at 16:00):

I mean I don't like it either but I don't see a better alternative in the short term :/

view this post on Zulip GuillaumeGomez (Apr 21 2021 at 19:02):

Both keywords documented on the same page maybe? Not sure if a good idea though...

view this post on Zulip Noah Lev (Apr 22 2021 at 01:23):

Or we could consider adding a rustc_attrs attribute (can rustdoc use that feature gate?) that would allow us to only change the URL.


Last updated: Oct 11 2021 at 22:34 UTC