Skip to content

Commit

Permalink
Added feature flag to doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
TrolledWoods committed Feb 27, 2021
1 parent 772543a commit 907eab8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/core/src/str/iter.rs
Expand Up @@ -196,6 +196,7 @@ impl<'a> CharIndices<'a> {
/// # Examples
///
/// ```
/// #![feature(char_indices_offset)]
/// let mut chars = "a楽".char_indices();
///
/// assert_eq!(chars.offset(), 0);
Expand Down

0 comments on commit 907eab8

Please sign in to comment.