unicode-rs/unicode-segmentation

Better front page example in documentation?

legends2k opened this issue · 3 comments

Both the front page and unicode_segmentation::UnicodeSegmentation's example shows

let gr1 = UnicodeSegmentation::graphemes("a\u{310}e\u{301}o\u{308}\u{332}", true)
          .collect::<Vec<&str>>();

than the more elegant

let gr1 = "a\u{310}e\u{301}o\u{308}\u{332}".graphemes(true).collect::<Vec<&str>>();

Is this fixed by #76 ?

@pedantic79 Nope, I still see the same example in the front page.

@legends2k I think that's because there wasn't been a new release since the PR was merged.