From 218da782b84d088ab0454b1e604bee84b402dc8a Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Tue, 31 Mar 2020 11:39:34 -0700 Subject: [PATCH] Fix negative_impls feature. --- src/send-and-sync.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/send-and-sync.md b/src/send-and-sync.md index d11b118..4652a85 100644 --- a/src/send-and-sync.md +++ b/src/send-and-sync.md @@ -54,7 +54,7 @@ In the *incredibly rare* case that a type is inappropriately automatically derived to be Send or Sync, then one can also unimplement Send and Sync: ```rust -#![feature(optin_builtin_traits)] +#![feature(negative_impls)] // I have some magic semantics for some synchronization primitive! struct SpecialThreadToken(u8);