summaryrefslogtreecommitdiff
path: root/exercises/options
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/options')
-rw-r--r--exercises/options/README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/exercises/options/README.md b/exercises/options/README.md
index 6140a16..bdd3374 100644
--- a/exercises/options/README.md
+++ b/exercises/options/README.md
@@ -1,7 +1,8 @@
# Options
-Type Option represents an optional value: every Option is either Some and contains a value, or None, and does not.
+Type Option represents an optional value: every Option is either Some and contains a value, or None, and does not.
Option types are very common in Rust code, as they have a number of uses:
+
- Initial values
- Return values for functions that are not defined over their entire input range (partial functions)
- Return value for otherwise reporting simple errors, where None is returned on error