diff --git a/references.md b/references.md index 1039cb1..24c6b60 100644 --- a/references.md +++ b/references.md @@ -138,7 +138,7 @@ This has no semantic consequences, but is probably a more useful notion when verifying the soundness of a construct.) That's it. Super simple right? Except for the fact that it took us two pages -to define all of the terms in that defintion. You know: Super. Simple. +to define all of the terms in that definition. You know: Super. Simple. Actually it's a bit more complicated than that. In addition to references, Rust has *raw pointers*: `*const T` and `*mut T`. Raw pointers have no inherent diff --git a/working-with-unsafe.md b/working-with-unsafe.md index b1174a7..69d0b31 100644 --- a/working-with-unsafe.md +++ b/working-with-unsafe.md @@ -44,7 +44,7 @@ Trickier than that is when we get into actual statefulness. Consider a simple implementation of `Vec`: ```rust -// Note this defintion is insufficient. See the section on lifetimes. +// Note this definition is insufficient. See the section on lifetimes. pub struct Vec { ptr: *mut T, len: usize,