summaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
authorMo Bitar <76752051+mo8it@users.noreply.github.com>2025-03-02 17:30:29 +0100
committerGitHub <noreply@github.com>2025-03-02 17:30:29 +0100
commitae444eb3da6ccd0456a6945f74f6bae39f6e5cef (patch)
tree4ef98845577951619c226e08dacfd2a810f87301 /exercises
parent46c6fb2c82d632a9b635ce74d4ef4292e3e0e90f (diff)
parent425c9821e0ef2d69f5b59750a8fc444165d64689 (diff)
Merge pull request #2213 from peterneave/main
Use consistent apostrophes in markdown files
Diffstat (limited to 'exercises')
-rw-r--r--exercises/01_variables/README.md2
-rw-r--r--exercises/08_enums/README.md2
-rw-r--r--exercises/13_error_handling/README.md6
3 files changed, 5 insertions, 5 deletions
diff --git a/exercises/01_variables/README.md b/exercises/01_variables/README.md
index 7964ff2..5ba2efc 100644
--- a/exercises/01_variables/README.md
+++ b/exercises/01_variables/README.md
@@ -1,7 +1,7 @@
# Variables
In Rust, variables are immutable by default.
-When a variable is immutable, once a value is bound to a name, you can’t change that value.
+When a variable is immutable, once a value is bound to a name, you can't change that value.
You can make them mutable by adding `mut` in front of the variable name.
## Further information
diff --git a/exercises/08_enums/README.md b/exercises/08_enums/README.md
index 30d4d91..2ca95e6 100644
--- a/exercises/08_enums/README.md
+++ b/exercises/08_enums/README.md
@@ -1,7 +1,7 @@
# Enums
Rust allows you to define types called "enums" which enumerate possible values.
-Enums are a feature in many languages, but their capabilities differ in each language. Rust’s enums are most similar to algebraic data types in functional languages, such as F#, OCaml, and Haskell.
+Enums are a feature in many languages, but their capabilities differ in each language. Rust's enums are most similar to algebraic data types in functional languages, such as F#, OCaml, and Haskell.
Useful in combination with enums is Rust's "pattern matching" facility, which makes it easy to run different code for different values of an enumeration.
## Further information
diff --git a/exercises/13_error_handling/README.md b/exercises/13_error_handling/README.md
index 3b21f2b..9b6674b 100644
--- a/exercises/13_error_handling/README.md
+++ b/exercises/13_error_handling/README.md
@@ -1,8 +1,8 @@
# Error handling
-Most errors aren’t serious enough to require the program to stop entirely.
-Sometimes, when a function fails, it’s for a reason that you can easily interpret and respond to.
-For example, if you try to open a file and that operation fails because the file doesn’t exist, you might want to create the file instead of terminating the process.
+Most errors aren't serious enough to require the program to stop entirely.
+Sometimes, when a function fails, it's for a reason that you can easily interpret and respond to.
+For example, if you try to open a file and that operation fails because the file doesn't exist, you might want to create the file instead of terminating the process.
## Further information