From 94a194884a68dee7b0bbbdd9049e48f8e746a2ae Mon Sep 17 00:00:00 2001 From: Carl Fredrik Samson Date: Sun, 6 Dec 2020 01:49:29 +0100 Subject: [PATCH] optin_builtin_traits is now called auto_traits --- src/4_pin.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {