Skip to content

Commit 7efbb96

Browse files
Fix typo in chessboard introduction and about docs (#851)
* Fix typo in introduction and about docs * Fix typo in exercise introduction
1 parent 405dc7c commit 7efbb96

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

concepts/ranges/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The reason for having two range operators is to create ranges that are inclusive
1414

1515
~~~~exercism/note
1616
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.
17-
This is because the otherwise will the method be called on the 2nd argument of the range operator.
17+
This is because otherwise the method will be called on the 2nd argument of the range operator.
1818
1919
```swift
2020
(1...5).contains(3) // Returns true

concepts/ranges/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The reason for having two range operators is to create ranges that are inclusive
1414

1515
~~~~exercism/note
1616
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.
17-
This is because the otherwise will the method be called on the 2nd argument of the range operator.
17+
This is because otherwise the method will be called on the 2nd argument of the range operator.
1818
1919
```swift
2020
(1...5).contains(3) // Returns true

exercises/concept/chessboard/.docs/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The reason for having two range operators is to create ranges that are inclusive
1414

1515
~~~~exercism/note
1616
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.
17-
This is because the otherwise will the method be called on the 2nd argument of the range operator.
17+
This is because otherwise the method will be called on the 2nd argument of the range operator.
1818
1919
```swift
2020
(1...5).contains(3) // Returns true

0 commit comments

Comments
 (0)