From 425c9821e0ef2d69f5b59750a8fc444165d64689 Mon Sep 17 00:00:00 2001 From: Peter Neave Date: Fri, 28 Feb 2025 11:46:39 +1100 Subject: [PATCH] Use consistent apostrophes in markdown files --- exercises/01_variables/README.md | 2 +- exercises/08_enums/README.md | 2 +- 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 7964ff29f4..5ba2efcaa2 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 30d4d91db2..2ca95e6c20 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 3b21f2b782..9b6674bc7a 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