Skip to content

Commit 1a4aa1e

Browse files
committed
Fix doc example
1 parent bebc340 commit 1a4aa1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/ascii.rs

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ pub struct EscapeDefault {
5757
/// # Examples
5858
///
5959
/// ```
60+
/// #![no_std]
6061
/// use core::ascii;
6162
///
6263
/// let escaped = ascii::escape_default(b'0').next().unwrap();

0 commit comments

Comments
 (0)