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:
parent
40ec2a292e
commit
0d04104112
@ -3569,7 +3569,7 @@ fn pass_time(w World) {
|
||||
|
||||
### 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.
|
||||
|
||||
`Option` types are declared by prepending `?` to the type name: `?Type`.
|
||||
|
Loading…
Reference in New Issue
Block a user