From 96c7cad37eb26be7d65975e17998956fe1212386 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Tue, 4 May 2021 17:35:33 +0200 Subject: [PATCH] the const_fn compiler feature is a NOP --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 62e36a3..52999e3 100644 --- a/README.md +++ b/README.md @@ -71,5 +71,3 @@ Your crate root: (`lib.rs`/`main.rs`) ```rust,ignore #![feature(const_ptr_offset_from, const_maybe_uninit_as_ptr, const_raw_ptr_deref, const_refs_to_cell)] ``` - -If you intend to use `offset_of!` inside a `const fn`, also add the `const_fn` compiler feature.