From 2068049e5def80fc948a62ea2c73bbce4c74e6fd Mon Sep 17 00:00:00 2001 From: Clifton King Date: Mon, 30 Dec 2019 12:55:56 -0500 Subject: [PATCH] Add note about using nightly rust in vec tutorial This should save future readers some time. --- src/vec-layout.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vec-layout.md b/src/vec-layout.md index c9962e2..20ca319 100644 --- a/src/vec-layout.md +++ b/src/vec-layout.md @@ -69,6 +69,8 @@ Unfortunately the mechanism for stating that your value is non-zero is unstable and unlikely to be stabilized soon. As such we're just going to take the hit and use std's Unique: +*Note: using `#![feature(_)]` requires you use the nightly rust channel. You can enable this via `$ rustup override set nightly` in your project or via [other precedence overrides](https://github.com/rust-lang/rustup#override-precedence).* + ```rust #![feature(ptr_internals)]