about summary refs log tree commit diff
path: root/src/libstd/thread/scoped_tls.rs
diff options
context:
space:
mode:
authorAndrew Paseltiner <apaseltiner@gmail.com>2015-04-13 10:21:32 -0400
committerAndrew Paseltiner <apaseltiner@gmail.com>2015-04-13 13:57:51 -0400
commit6fa16d6a473415415cb87a1fe6754aace32cbb1c (patch)
tree6009800c0605908efff7b33c6711b5924d4f70d0 /src/libstd/thread/scoped_tls.rs
parent588d37c653ddac491c2c1cb8974f56781533b173 (diff)
downloadrust-6fa16d6a473415415cb87a1fe6754aace32cbb1c.tar.gz
rust-6fa16d6a473415415cb87a1fe6754aace32cbb1c.zip
pluralize doc comment verbs and add missing periods
Diffstat (limited to 'src/libstd/thread/scoped_tls.rs')
-rw-r--r--src/libstd/thread/scoped_tls.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/thread/scoped_tls.rs b/src/libstd/thread/scoped_tls.rs
index fa980954c2f..9c0b4a5d833 100644
--- a/src/libstd/thread/scoped_tls.rs
+++ b/src/libstd/thread/scoped_tls.rs
@@ -135,7 +135,7 @@ macro_rules! __scoped_thread_local_inner {
            reason = "scoped TLS has yet to have wide enough use to fully consider \
                      stabilizing its interface")]
 impl<T> ScopedKey<T> {
-    /// Insert a value into this scoped thread local storage slot for a
+    /// Inserts a value into this scoped thread local storage slot for a
     /// duration of a closure.
     ///
     /// While `cb` is running, the value `t` will be returned by `get` unless
@@ -188,7 +188,7 @@ impl<T> ScopedKey<T> {
         cb()
     }
 
-    /// Get a value out of this scoped variable.
+    /// Gets a value out of this scoped variable.
     ///
     /// This function takes a closure which receives the value of this
     /// variable.