Skip to content

Commit

Permalink
Updating str.chars docs to mention crates.io.
Browse files Browse the repository at this point in the history
This might spare someone else a little time searching the stdlib for unicode/grapheme support.
  • Loading branch information
thesoftwarephilosopher authored Jan 23, 2020
1 parent e0bbe79 commit ac19dff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libcore/str/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2658,7 +2658,8 @@ impl str {
///
/// It's important to remember that [`char`] represents a Unicode Scalar
/// Value, and may not match your idea of what a 'character' is. Iteration
/// over grapheme clusters may be what you actually want.
/// over grapheme clusters may be what you actually want. This functionality
/// is not provided by Rust's standard library, check crates.io instead.
///
/// # Examples
///
Expand Down

0 comments on commit ac19dff

Please sign in to comment.