aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJoey Sacchini <joey@sacchini.net>2020-10-19 12:26:47 -0400
committerJoey Sacchini <joey@sacchini.net>2020-10-19 12:26:47 -0400
commitf7f69d2d98a087f98ec81c3687567e02f0abed7e (patch)
tree0596e32b7d7561da84260c06c6d7760a4763271e /src/lib.rs
parent4deb1954d5f565feb7dbbc007124455da085cf7f (diff)
downloadmcproto-rs-f7f69d2d98a087f98ec81c3687567e02f0abed7e.tar.gz
mcproto-rs-f7f69d2d98a087f98ec81c3687567e02f0abed7e.tar.bz2
mcproto-rs-f7f69d2d98a087f98ec81c3687567e02f0abed7e.zip
remove unused feature and simplify cfg_attr
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 4be590a..6342c41 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,6 +1,5 @@
-#![feature(const_fn)]
#![feature(test)]
-#![cfg_attr(all(not(test), not(feature="std")), no_std)]
+#![cfg_attr(not(feature = "std"), no_std)]
extern crate alloc;