Skip to content

Commit 74b43ea

Browse files
authored
Merge pull request Diggsey#17 from ogoffart/fix-nightly
Remove usage of unused nightly features
2 parents 5bdcdd7 + 2ee02a2 commit 74b43ea

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "field-offset"
3-
version = "0.3.3"
3+
version = "0.3.4"
44
authors = ["Diggory Blake <[email protected]>"]
55
description = "Safe pointer-to-member implementation"
66
repository = "https://github.com/Diggsey/rust-field-offset"

src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#![no_std]
2-
#![cfg_attr(fieldoffset_assert_in_const_fn, feature(const_if_match))]
3-
#![cfg_attr(fieldoffset_assert_in_const_fn, feature(const_fn))]
42
#![cfg_attr(fieldoffset_assert_in_const_fn, feature(const_panic))]
53
// Explicit lifetimes are clearer when we are working with raw pointers,
64
// as the compiler will not warn us if we specify lifetime constraints

0 commit comments

Comments
 (0)