-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use link text in docs to omit Self::
prefix in rendered docs
#561
Conversation
That's my general preference, subject to developer patience. |
Suggestion from [#559]. [#559]: #559 (comment)
1cb5ece
to
83daaaf
Compare
ColorComponentFlags
docs to omit Self::
Self::
prefix in rendered docs
@Ralith Consider it regexed :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
@@ -264,10 +264,10 @@ impl Entry { | |||
&self.entry_fn_1_1 | |||
} | |||
|
|||
#[deprecated = "This function is unavailable and therefore panics on Vulkan 1.0, please use `try_enumerate_instance_version` instead"] | |||
#[deprecated = "This function is unavailable and therefore panics on Vulkan 1.0, please use `try_enumerate_instance_version()` instead"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought (intradoc) links were also possible in deprecation blocks (similar to other markdown), but nope :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aw, that seems like a really useful place for them too. Feature request upstream?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Heh feature requests have to go to the "internals" forum, I'll see what I can do.
Suggestion from #559.
Note thatSelf::
in_len()
function docs hasn't been replaced (yet?) as the longer function names make this format rather verbose. However, we should probably prefer docs readability over code readability?