about summary refs log tree commit diff
path: root/src/libstd/thread
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/libstd/thread
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/libstd/thread')
-rw-r--r--src/libstd/thread/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs
index ee103c803f5..6354e746af2 100644
--- a/src/libstd/thread/mod.rs
+++ b/src/libstd/thread/mod.rs
@@ -807,7 +807,7 @@ pub fn park_timeout_ms(ms: u32) {
 /// Platforms which do not support nanosecond precision for sleeping will have
 /// `dur` rounded up to the nearest granularity of time they can sleep for.
 ///
-/// # Example
+/// # Examples
 ///
 /// Waiting for the complete expiration of the timeout:
 ///