diff --git a/posts/inside-rust/2022-04-04-lang-roadmap-2024.md b/posts/inside-rust/2022-04-04-lang-roadmap-2024.md index 1517cfedb..b915fe5ce 100644 --- a/posts/inside-rust/2022-04-04-lang-roadmap-2024.md +++ b/posts/inside-rust/2022-04-04-lang-roadmap-2024.md @@ -176,7 +176,7 @@ to discuss, or send a private message to nikomatsakis. matching a `String` with a `"str"`. - Perfect derive: determine the precise conditions for generic type parameters based on the types of a struct fields. For instance, - `#[derive(Clone)] struct MyStruct(Rc)` would not require `T: Clone`, + `#[derive(Clone)] struct MyStruct(Rc)` would not require `T: Clone`, because `Rc` can be cloned without it. - Autoref, operators, and clones: Generic methods that operate on references sometimes necessitate types like `&u32`; since `u32` is