Rustdoc: Methods from Deref
should not be const
#90855
Labels
A-rustdoc-ui
Area: Rustdoc UI (generated HTML)
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Screenshot:
Considering that rustdoc doesn't care about
const_trait_impl
, methods fromDeref
cannot be called in const contexts. Therefore it is best to hide theconst
modifiers when showing methods fromDeref
.The text was updated successfully, but these errors were encountered: