Added feature flag to doc test
This commit is contained in:
parent
772543aeff
commit
907eab8e62
1 changed files with 1 additions and 0 deletions
|
|
@ -196,6 +196,7 @@ impl<'a> CharIndices<'a> {
|
|||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// #![feature(char_indices_offset)]
|
||||
/// let mut chars = "a楽".char_indices();
|
||||
///
|
||||
/// assert_eq!(chars.offset(), 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue