Skip to content
This repository was archived by the owner on Nov 15, 2020. It is now read-only.

Commit 9d31668

Browse files
committed
Minor fix to readme
1 parent 2e9e5c6 commit 9d31668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ let match = scanner.match("😎") // return false
282282
```
283283

284284
<a name="matchString" />
285-
#### `func match(_ match: String) throws`
285+
#### `func match(_ match: String) -> Bool`
286286
Return false if scalars starting at the current position don't match scalars in given string.
287287
Advance scanner's `position` to the end of the match string if match.
288288

0 commit comments

Comments
 (0)