diff --git a/src/4_pin.md b/src/4_pin.md index 8ed3ee1..183a647 100644 --- a/src/4_pin.md +++ b/src/4_pin.md @@ -611,7 +611,7 @@ But now, let's prevent this problem using `Pin`. I've commented along the way to make it easier to spot and understand the changes we need to make. ```rust -#![feature(optin_builtin_traits, negative_impls)] // needed to implement `!Unpin` +#![feature(auto_traits, negative_impls)] // needed to implement `!Unpin` use std::pin::Pin; pub fn main() {