]> git.lizzy.rs Git - rust.git/commitdiff
fix definition
authorAlexis Beingessner <a.beingessner@gmail.com>
Tue, 14 Jul 2015 04:37:19 +0000 (21:37 -0700)
committerAlexis Beingessner <a.beingessner@gmail.com>
Tue, 14 Jul 2015 04:37:19 +0000 (21:37 -0700)
references.md
working-with-unsafe.md

index 1039cb1197b6493fe616e4f5ba0de44475aeae50..24c6b607840d887a9968d6fb9da1f96c8fa3aac4 100644 (file)
@@ -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
index b1174a74c0bcc141d71262942cccb55be7c02f9a..69d0b31cf88d64c0fac72e979baa267dd1487ba6 100644 (file)
@@ -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<T> {
     ptr: *mut T,
     len: usize,