Fix doc example

This commit is contained in:
1011X 2018-03-04 18:36:32 -05:00
parent bebc34003e
commit 1a4aa1eb6e

View File

@ -57,6 +57,7 @@ pub struct EscapeDefault {
/// # Examples
///
/// ```
/// #![no_std]
/// use core::ascii;
///
/// let escaped = ascii::escape_default(b'0').next().unwrap();