diff --git a/src/hrtb.md b/src/hrtb.md index 645986a..ec7b7c5 100644 --- a/src/hrtb.md +++ b/src/hrtb.md @@ -25,7 +25,7 @@ fn main() { } ``` -If we try to naively desugar this code in the same way that we did in the +If we try to naïvely desugar this code in the same way that we did in the lifetimes section, we run into some trouble: ```rust,ignore diff --git a/src/repr-rust.md b/src/repr-rust.md index c02cf44..a28e9bb 100644 --- a/src/repr-rust.md +++ b/src/repr-rust.md @@ -113,7 +113,7 @@ requires different monomorphizations to have *different field orderings*. **Note: this is a hypothetical optimization that is not yet implemented in Rust 1.0** -Enums make this consideration even more complicated. Naively, an enum such as: +Enums make this consideration even more complicated. Naïvely, an enum such as: ```rust enum Foo { diff --git a/src/vec-layout.md b/src/vec-layout.md index 795f1ac..d1247c8 100644 --- a/src/vec-layout.md +++ b/src/vec-layout.md @@ -4,7 +4,7 @@ First off, we need to come up with the struct layout. A Vec has three parts: a pointer to the allocation, the size of the allocation, and the number of elements that have been initialized. -Naively, this means we just want this design: +Naïvely, this means we just want this design: ```rust pub struct Vec {