“may not” was incorrectly changed to “must not” in FromResidual
documentation
#123566
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
C-bug
Category: This is a bug.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Location
Documentation for
FromResidual::from_residual
Summary
As part of #87445, the following part of the documentation for
FromResidual::from_residual
:was changed to (change in bold):
The parenthetical now appears to state that the residual is not permitted to be identical when interconversion is involved (i.e., it must be different in some way). However, I believe the intention of the original wording was to convey that the residual is not required to be identical when interconversion is involved, which makes more sense contextually. I believe the emphasis on the word “identical” also supports this interpretation.
I propose that “must not” be changed to “need not”, “is not required to”, “does not have to”, or similar. Even “might not”, the other alternative in #87445, would be closer.
The text was updated successfully, but these errors were encountered: