Skip to content

Commit

Permalink
Fix formatting for conditionalArgument on Rules.md (#1743)
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshubir authored and nicklockwood committed Jun 29, 2024
1 parent 33a2ce3 commit 16840ac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,6 @@ Option | Description
+ "bar"
}

```diff
- let foo: String
- switch condition {
+ let foo = switch condition {
Expand All @@ -537,7 +536,6 @@ Option | Description
- foo = "bar"
+ "bar"
}
```

// With --condassignment always (disabled by default)
- switch condition {
Expand Down
2 changes: 0 additions & 2 deletions Sources/Examples.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1705,7 +1705,6 @@ private struct Examples {
+ "bar"
}
```diff
- let foo: String
- switch condition {
+ let foo = switch condition {
Expand All @@ -1716,7 +1715,6 @@ private struct Examples {
- foo = "bar"
+ "bar"
}
```
// With --condassignment always (disabled by default)
- switch condition {
Expand Down

0 comments on commit 16840ac

Please sign in to comment.