Skip to content

Commit 68e6a9e

Browse files
committed
Add no_std support.
Related to: aldanor#33
1 parent 4b079a5 commit 68e6a9e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
//! assert_eq!(&s[n..], "foo");
3232
//! ```
3333
34+
#![cfg_attr(not(feature = "std"), no_std)]
3435
#![warn(clippy::all, clippy::pedantic, clippy::nursery, clippy::cargo)]
3536
#![allow(
3637
clippy::cast_possible_truncation,

0 commit comments

Comments
 (0)