summary refs log tree commit diff
path: root/src/liballoc/str.rs
diff options
context:
space:
mode:
authorlukaramu <lukaramu@users.noreply.github.com>2017-08-24 17:33:36 +0200
committerlukaramu <lukaramu@users.noreply.github.com>2017-08-24 18:42:53 +0200
commit49ee9f3f08ba4583bc722a663e43551067ace271 (patch)
treea2f7e28e28b97db9bbd084e6644135b6c2790a2c /src/liballoc/str.rs
parentaf6298d590785088aad92f817ce07dfd6cdebdd0 (diff)
downloadrust-49ee9f3f08ba4583bc722a663e43551067ace271.tar.gz
rust-49ee9f3f08ba4583bc722a663e43551067ace271.zip
Fix inconsistent doc headings
This fixes headings reading "Unsafety" and "Example", they should be
"Safety" and "Examples" according to RFC 1574.
Diffstat (limited to 'src/liballoc/str.rs')
-rw-r--r--src/liballoc/str.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/str.rs b/src/liballoc/str.rs
index 80317cd763b..79b2bbce2af 100644
--- a/src/liballoc/str.rs
+++ b/src/liballoc/str.rs
@@ -1714,7 +1714,7 @@ impl str {
     ///
     /// [`Err`]: str/trait.FromStr.html#associatedtype.Err
     ///
-    /// # Example
+    /// # Examples
     ///
     /// Basic usage
     ///