[SR-9214] Documentation for Numeric operators incorrectly uses examples with the unary minus operator #51703
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
documentation
standard library
Area: Standard library umbrella
Additional Detail from JIRA
md5: 87b1bd9232720a092b692702ce8bb6a5
Issue Description:
The ‘Numeric’ protocol does not have a unary minus operator, but some documentation examples nonetheless use that operator. Those examples should probably be removed.
Details are discussed here: https://github.com/apple/swift/pull/20422/files#diff-feb4a95eae28180fee8e99cb943ffb9aR44
The text was updated successfully, but these errors were encountered: