We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5bdcdd7 + 2ee02a2 commit 74b43eaCopy full SHA for 74b43ea
Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "field-offset"
3
-version = "0.3.3"
+version = "0.3.4"
4
authors = ["Diggory Blake <[email protected]>"]
5
description = "Safe pointer-to-member implementation"
6
repository = "https://github.com/Diggsey/rust-field-offset"
src/lib.rs
@@ -1,6 +1,4 @@
#![no_std]
-#![cfg_attr(fieldoffset_assert_in_const_fn, feature(const_if_match))]
-#![cfg_attr(fieldoffset_assert_in_const_fn, feature(const_fn))]
#![cfg_attr(fieldoffset_assert_in_const_fn, feature(const_panic))]
// Explicit lifetimes are clearer when we are working with raw pointers,
// as the compiler will not warn us if we specify lifetime constraints
0 commit comments