diff options
| author | Peter Neave <peter.neave@purple.telstra.com> | 2025-02-28 11:46:39 +1100 |
|---|---|---|
| committer | Peter Neave <peter.neave@purple.telstra.com> | 2025-02-28 11:46:39 +1100 |
| commit | 425c9821e0ef2d69f5b59750a8fc444165d64689 (patch) | |
| tree | c095682da391e2fd4be6905732505fc55c593e01 | |
| parent | 3947c4de284cb82945055a0fe802c2755e951bb9 (diff) | |
Use consistent apostrophes in markdown files
| -rw-r--r-- | exercises/01_variables/README.md | 2 | ||||
| -rw-r--r-- | exercises/08_enums/README.md | 2 | ||||
| -rw-r--r-- | exercises/13_error_handling/README.md | 6 |
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 |
