1 | |
2 | ### Option/Result types and error handling |
3 | |
4 | -Optional types are for types which may represent `none`. Result types may |
5 | +Option types are for types which may represent `none`. Result types may |
6 | represent an error returned from a function. |
7 | |
8 | `Option` types are declared by prepending `?` to the type name: `?Type`. |
9 |