Skip to content

Commit 7add14a

Browse files
fix doc test
1 parent 8a6137d commit 7add14a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/slice/iter.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1312,6 +1312,7 @@ forward_iterator! { RSplitNMut: T, &'a mut [T] }
13121312
/// # Example
13131313
///
13141314
/// ```
1315+
/// #![feature(split_pattern)]
13151316
/// let slice = [10, 10, 40, 33, 30, 10, 40, 20];
13161317
/// let pat = [10, 40];
13171318
/// let mut iter = slice.split_pattern(&pat);

0 commit comments

Comments
 (0)