Skip to content

Commit

Permalink
Rollup merge of rust-lang#68495 - sdegutis:patch-1, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
Updating str.chars docs to mention crates.io.

This might spare someone else a little time searching the stdlib for unicode/grapheme support.
  • Loading branch information
Dylan-DPC authored Feb 16, 2020
2 parents 5e7af46 + ac19dff commit 78deb93
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 78deb93

Please sign in to comment.