We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
md5: b54e8a4abfab2b08843f5e77b339e396
Issue Description:
It says "modulo operator" when it should be "remainder operator". Details here: https://forums.swift.org/t/no-quick-help-for-operators-and-operator-incorrectly-documented/14440
Perhaps the documentation could also be clearer about how it works, and mention common pitfalls like:
extension BinaryInteger { var isOdd: Bool { return self % 2 == 1 } } for i in -3 ... 3 { print(i, i.isOdd ? "is odd" : "is even") }
The text was updated successfully, but these errors were encountered:
cc @stephentyrone @natecook1000
Sorry, something went wrong.
@natecook1000 addressed the biggest piece of this (the incorrect name) in #18013
@jepers do you want to keep this bug around for further improvement, or close it as done?
No branches or pull requests
Additional Detail from JIRA
md5: b54e8a4abfab2b08843f5e77b339e396
Issue Description:
It says "modulo operator" when it should be "remainder operator".
Details here: https://forums.swift.org/t/no-quick-help-for-operators-and-operator-incorrectly-documented/14440
Perhaps the documentation could also be clearer about how it works, and mention common pitfalls like:
The text was updated successfully, but these errors were encountered: