Skip to content

Commit

Permalink
Rollup merge of rust-lang#40692 - SamWhited:consistent_str_docs_punct…
Browse files Browse the repository at this point in the history
…uation, r=bstrie

str: Make docs consistently punctuated

Every so slightly pointless one character PR, but this was driving me nuts while reading the docs a moment ago (all the [other public structs](https://doc.rust-lang.org/std/str/index.html#structs) have descriptions that end in a full-stop).
  • Loading branch information
frewsxcv authored Mar 22, 2017
2 parents 81edcb8 + 49db656 commit baaa253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/str/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ impl fmt::Display for Utf8Error {
Section: Iterators
*/

/// Iterator for the char (representing *Unicode Scalar Values*) of a string
/// Iterator for the char (representing *Unicode Scalar Values*) of a string.
///
/// Created with the method [`chars`].
///
Expand Down

0 comments on commit baaa253

Please sign in to comment.