8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92767fd commit deebd8aCopy full SHA for deebd8a
src/grapheme.rs
@@ -335,7 +335,7 @@ impl GraphemeCursor {
335
/// # use unicode_segmentation::{GraphemeCursor, GraphemeIncomplete};
336
/// let flags = "\u{1F1F7}\u{1F1F8}\u{1F1EE}\u{1F1F4}";
337
/// let mut cursor = GraphemeCursor::new(8, flags.len(), false);
338
- /// // Note enough pre-context to decide if there's a boundary between the two flags.
+ /// // Not enough pre-context to decide if there's a boundary between the two flags.
339
/// assert_eq!(cursor.is_boundary(&flags[8..], 8), Err(GraphemeIncomplete::PreContext(8)));
340
/// // Provide one more Regional Indicator Symbol of pre-context
341
/// cursor.provide_context(&flags[4..8], 4);
0 commit comments