-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
Rustdoc shows const fns as const
, but you can't call them in a const context because they're still unstable. If you aren't in a const context, it doesn't matter whether the fn is const or not. So it's confusing and maybe it shouldn't be shown at all until the feature is stable.
cc @jethrogb
Metadata
Metadata
Assignees
Labels
T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.