fix: add feature to doc tests
This commit is contained in:
parent
5a09d7c3de
commit
4cb9de48fb
1 changed files with 1 additions and 0 deletions
|
|
@ -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];
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue