Skip to content

Commit b3a9c24

Browse files
authored
Delete let to make this code snippet build. (#415)
1 parent 4de2281 commit b3a9c24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ArgumentParser/Documentation.docc/Articles/ManualParsing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The static `parseOrExit()` method either returns a fully initialized instance of
3030
We can perform validation on the inputs and exit the script if necessary:
3131

3232
```swift
33-
guard let options.elements.count >= options.count else {
33+
guard options.elements.count >= options.count else {
3434
let error = ValidationError("Please specify a 'count' less than the number of elements.")
3535
SelectOptions.exit(withError: error)
3636
}

0 commit comments

Comments
 (0)