You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/lib.rs
+2-5Lines changed: 2 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -11,11 +11,8 @@
11
11
//! A library that provides ASCII-only string and character types, equivalent to the `char`, `str` and
12
12
//! `String` types in the standard library.
13
13
//!
14
-
//! # Using ascii without libstd
15
-
//!
16
-
//! Most of `AsciiChar` and `AsciiStr` can be used without `std` by enabling the feature `no_std`. The
17
-
//! owned string type `AsciiString` and the conversion trait `IntoAsciiString` as well as all methods
18
-
//! referring to these types aren't available without `std`.
14
+
#![cfg_attr(not(feature = "no_std"), doc="[The documentation for `#[no_std]` mode is here](https://tomprogrammer.github.io/rust-ascii/no_std/ascii/index.html).")]
15
+
#![cfg_attr(feature = "no_std", doc="This is the documentation for `#[no_std]` mode.")]
0 commit comments