Skip to content

Commit

Permalink
Merge pull request realm#3331 from lightsprint09/patch-1
Browse files Browse the repository at this point in the history
Use correct term for associated values
  • Loading branch information
jpsim authored Sep 3, 2020
2 parents 89981cc + 96c8918 commit 4083f16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@

#### Enhancements

* None.
* Improves description for `empty_enum_arguments`
[Lukas Schmidt](https://github.com/lightsprint09)

#### Bug Fixes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public struct EmptyEnumArgumentsRule: SubstitutionCorrectableASTRule, Configurat
public static let description = RuleDescription(
identifier: "empty_enum_arguments",
name: "Empty Enum Arguments",
description: "Arguments can be omitted when matching enums with associated types if they are not used.",
description: "Arguments can be omitted when matching enums with associated values if they are not used.",
kind: .style,
nonTriggeringExamples: [
wrapInSwitch("case .bar"),
Expand Down

0 comments on commit 4083f16

Please sign in to comment.