Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion concepts/ranges/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The reason for having two range operators is to create ranges that are inclusive

~~~~exercism/note
When creating a range in Swift using the range operators `...` or `..<`, and wanting to call a method on the range, you need to wrap the range in parentheses.
This is because the otherwise will the method be called on the 2nd argument of the range operator.
This is because otherwise the method will be called on the 2nd argument of the range operator.

```swift
(1...5).contains(3) // Returns true
Expand Down
2 changes: 1 addition & 1 deletion concepts/ranges/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The reason for having two range operators is to create ranges that are inclusive

~~~~exercism/note
When creating a range in Swift using the range operators `...` or `..<`, and wanting to call a method on the range, you need to wrap the range in parentheses.
This is because the otherwise will the method be called on the 2nd argument of the range operator.
This is because otherwise the method will be called on the 2nd argument of the range operator.

```swift
(1...5).contains(3) // Returns true
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/chessboard/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The reason for having two range operators is to create ranges that are inclusive

~~~~exercism/note
When creating a range in Swift using the range operators `...` or `..<`, and wanting to call a method on the range, you need to wrap the range in parentheses.
This is because the otherwise will the method be called on the 2nd argument of the range operator.
This is because otherwise the method will be called on the 2nd argument of the range operator.

```swift
(1...5).contains(3) // Returns true
Expand Down