fix: add feature to doc tests

This commit is contained in:
Evgeny Safronov 2017-04-08 19:37:46 +03:00
parent 5a09d7c3de
commit 4cb9de48fb

View file

@ -1410,6 +1410,7 @@ impl FromUtf8Error {
/// Basic usage:
///
/// ```
/// #![feature(from_utf8_error_as_bytes)]
/// // some invalid bytes, in a vector
/// let bytes = vec![0, 159];
///