Skip to content

Commit ae444eb

Browse files
authored
Merge pull request #2213 from peterneave/main
Use consistent apostrophes in markdown files
2 parents 46c6fb2 + 425c982 commit ae444eb

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

exercises/01_variables/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Variables
22

33
In Rust, variables are immutable by default.
4-
When a variable is immutable, once a value is bound to a name, you cant change that value.
4+
When a variable is immutable, once a value is bound to a name, you can't change that value.
55
You can make them mutable by adding `mut` in front of the variable name.
66

77
## Further information

exercises/08_enums/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Enums
22

33
Rust allows you to define types called "enums" which enumerate possible values.
4-
Enums are a feature in many languages, but their capabilities differ in each language. Rusts enums are most similar to algebraic data types in functional languages, such as F#, OCaml, and Haskell.
4+
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.
55
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.
66

77
## Further information

exercises/13_error_handling/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Error handling
22

3-
Most errors arent serious enough to require the program to stop entirely.
4-
Sometimes, when a function fails, its for a reason that you can easily interpret and respond to.
5-
For example, if you try to open a file and that operation fails because the file doesnt exist, you might want to create the file instead of terminating the process.
3+
Most errors aren't serious enough to require the program to stop entirely.
4+
Sometimes, when a function fails, it's for a reason that you can easily interpret and respond to.
5+
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.
66

77
## Further information
88

0 commit comments

Comments
 (0)