about summary refs log tree commit diff
path: root/src/libstd/thread
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-08-26 06:46:34 -0700
committerGitHub <noreply@github.com>2017-08-26 06:46:34 -0700
commit7e8753d1c12b5eec03280c876bafd3423833c5b6 (patch)
tree33806602833173074050e9736724dbcea2889822 /src/libstd/thread
parentb4dcdee0fd7b9996ca44ca1241ee60f863f4e4d3 (diff)
parent49ee9f3f08ba4583bc722a663e43551067ace271 (diff)
downloadrust-7e8753d1c12b5eec03280c876bafd3423833c5b6.tar.gz
rust-7e8753d1c12b5eec03280c876bafd3423833c5b6.zip
Rollup merge of #44072 - lukaramu:fix-doc-headings, r=steveklabnik
Fix inconsistent doc headings

This fixes headings reading "Unsafety" and "Example", they should be "Safety" and "Examples" according to RFC 1574.

r? @steveklabnik
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:
 ///