Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix default rules section in documentation (#3857)
While browsing the rules documentation, I noticed **many** rules were both in the Default Rules and in the Opt In Rules section. After looking into it, the docs of the `drop(while predicate: (Element) throws -> Bool` function states: A closure that takes an element of the sequence as its argument and returns true if the element should be skipped or false if it should be included. **Once the predicate returns false it will not be called again.** This caused the `defaultRuleDocumentations` array to contain almost all `ruleDocumentation`.
- Loading branch information