Skip to content

Commit

Permalink
Documentation tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
mildm8nnered committed Jul 29, 2024
1 parent a06897b commit 7255ce9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ struct ArrayInitRule: OptInRule {
description: "Prefer using `Array(seq)` over `seq.map { $0 }` to convert a sequence into an Array",
rationale: """
When converting a the elements of sequence directly into an `Array`, for clarity and to better convey \
intent, prefer using the `Array` constructor to `map`. For example
intent, prefer using the `Array` constructor over calling `map`. For example
```
Array(foo)
Expand Down

0 comments on commit 7255ce9

Please sign in to comment.