summaryrefslogtreecommitdiff
path: root/exercises/options/README.md
diff options
context:
space:
mode:
authorAli Afsharzadeh <afsharzadeh8@gmail.com>2023-03-30 19:53:22 +0330
committerAli Afsharzadeh <afsharzadeh8@gmail.com>2023-03-30 19:53:22 +0330
commit382e16eb7ea66cddc4860f4b19453b031a2a8a8a (patch)
tree4867f505b36ed69381a294b58d056cd9e92b8439 /exercises/options/README.md
parent362c1b0d113ad9a5bd4d1dee8086757efd060785 (diff)
feat(docs): add markdown linter for exercises README.md files
Diffstat (limited to 'exercises/options/README.md')
-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