Skip to content

Commit 4cb9de4

Browse files
committed
fix: add feature to doc tests
1 parent 5a09d7c commit 4cb9de4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcollections/string.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,6 +1410,7 @@ impl FromUtf8Error {
14101410
/// Basic usage:
14111411
///
14121412
/// ```
1413+
/// #![feature(from_utf8_error_as_bytes)]
14131414
/// // some invalid bytes, in a vector
14141415
/// let bytes = vec![0, 159];
14151416
///

0 commit comments

Comments
 (0)