1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

docs: change one more Optional to Option (#17170)

This commit is contained in:
JalonSolov 2023-01-31 02:32:11 -05:00 committed by GitHub
parent 40ec2a292e
commit 0d04104112
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3569,7 +3569,7 @@ fn pass_time(w World) {
### Option/Result types and error handling ### Option/Result types and error handling
Optional types are for types which may represent `none`. Result types may Option types are for types which may represent `none`. Result types may
represent an error returned from a function. represent an error returned from a function.
`Option` types are declared by prepending `?` to the type name: `?Type`. `Option` types are declared by prepending `?` to the type name: `?Type`.