rustdoc doesn't render constness of bare functions on nightly #44187
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-dev-tools
Relevant to the dev-tools subteam, which will review and decide on the PR/issue.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
On today's nightly docs for
std::mem::size_of
:But if you click
[src]
, you can see that it's supposed to be const:Rustdoc is supposed to print the constness of functions on nightly. It currently works for associated functions (e.g.
AtomicBool::new
) but bare functions likesize_of
are currently not working.The text was updated successfully, but these errors were encountered: