From 0d041041127eb1029acff8f92855d6bd99957ce1 Mon Sep 17 00:00:00 2001 From: JalonSolov Date: Tue, 31 Jan 2023 02:32:11 -0500 Subject: [PATCH] docs: change one more `Optional` to `Option` (#17170) --- doc/docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/docs.md b/doc/docs.md index e6bc26874..2a270d4af 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -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`. -- 2.30.2