Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 241ff46

Browse files
committed
Update no_std feature to compile with nightly.
1 parent c9b22f6 commit 241ff46

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "unicode-xid"
4-
version = "0.0.2"
4+
version = "0.0.3"
55
authors = ["erick.tryzelaar <[email protected]>",
66
"kwantam <[email protected]>",
77
]

src/lib.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,10 @@
4242
html_favicon_url = "https://unicode-rs.github.io/unicode-rs_sm.png")]
4343

4444
#![cfg_attr(feature = "no_std", no_std)]
45-
#![cfg_attr(feature = "no_std", feature(no_std, core, core_slice_ext))]
45+
#![cfg_attr(feature = "no_std", feature(no_std, core_slice_ext))]
4646

4747
#![cfg_attr(test, feature(test, unicode))]
4848

49-
#[cfg(feature = "no_std")]
50-
#[macro_use]
51-
extern crate core;
52-
5349
#[cfg(all(test, feature = "no_std"))]
5450
#[macro_use]
5551
extern crate std;

0 commit comments

Comments
 (0)