Skip to content

Commit baaa253

Browse files
authored
Rollup merge of rust-lang#40692 - SamWhited:consistent_str_docs_punctuation, 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).
2 parents 81edcb8 + 49db656 commit baaa253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/str/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ impl fmt::Display for Utf8Error {
332332
Section: Iterators
333333
*/
334334

335-
/// Iterator for the char (representing *Unicode Scalar Values*) of a string
335+
/// Iterator for the char (representing *Unicode Scalar Values*) of a string.
336336
///
337337
/// Created with the method [`chars`].
338338
///

0 commit comments

Comments
 (0)