about summary refs log tree commit diff
path: root/src/libstd/sys/common
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-03-12 09:13:47 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-03-12 09:13:47 +0530
commit0a74387b642bfc6ba0c8de723942eafae440bc4a (patch)
tree109b0be66b72fa83a755169299dbcbdc3e2b8b97 /src/libstd/sys/common
parent2c251fa84694112890d879cd5fe05d18006f0a0c (diff)
parent64ab111b5387e9985df188a970350c9e6c7f1451 (diff)
downloadrust-0a74387b642bfc6ba0c8de723942eafae440bc4a.tar.gz
rust-0a74387b642bfc6ba0c8de723942eafae440bc4a.zip
Rollup merge of #23297 - steveklabnik:examples, r=huonw
 This brings comments in line with https://github.com/rust-lang/rfcs/blob/master/text/0505-api-comment-conventions.md#using-markdown
Diffstat (limited to 'src/libstd/sys/common')
-rw-r--r--src/libstd/sys/common/thread_local.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/sys/common/thread_local.rs b/src/libstd/sys/common/thread_local.rs
index 91de2662883..27936241639 100644
--- a/src/libstd/sys/common/thread_local.rs
+++ b/src/libstd/sys/common/thread_local.rs
@@ -28,7 +28,7 @@
 //! more useful in practice than this OS-based version which likely requires
 //! unsafe code to interoperate with.
 //!
-//! # Example
+//! # Examples
 //!
 //! Using a dynamically allocated TLS key. Note that this key can be shared
 //! among many threads via an `Arc`.
@@ -73,7 +73,7 @@ use sys::thread_local as imp;
 /// time. The key is also deallocated when the Rust runtime exits or `destroy`
 /// is called, whichever comes first.
 ///
-/// # Example
+/// # Examples
 ///
 /// ```ignore
 /// use tls::os::{StaticKey, INIT};
@@ -110,7 +110,7 @@ pub struct StaticKeyInner {
 /// Implementations will likely, however, contain unsafe code as this type only
 /// operates on `*mut u8`, an unsafe pointer.
 ///
-/// # Example
+/// # Examples
 ///
 /// ```rust,ignore
 /// use tls::os::Key;