about summary refs log tree commit diff
path: root/src/libstd/rt
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-04-22 05:06:33 -0700
committerbors <bors@rust-lang.org>2014-04-22 05:06:33 -0700
commitc46c7607a44d047f87e52fca66865b31a4f43b99 (patch)
tree9cfa9e1439dc02643b279fca674a9de9041047ec /src/libstd/rt
parentef1b929b2f732f96d6f9357467cf7b45b85c5413 (diff)
parent809f13ea9441d972b5777a9c8bf837add9484a45 (diff)
downloadrust-c46c7607a44d047f87e52fca66865b31a4f43b99.tar.gz
rust-c46c7607a44d047f87e52fca66865b31a4f43b99.zip
auto merge of #13653 : jbcrail/rust/fix-comment-mistakes, r=alexcrichton
Diffstat (limited to 'src/libstd/rt')
-rw-r--r--src/libstd/rt/local_ptr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/local_ptr.rs b/src/libstd/rt/local_ptr.rs
index ff82be97489..f60cfa23e81 100644
--- a/src/libstd/rt/local_ptr.rs
+++ b/src/libstd/rt/local_ptr.rs
@@ -374,7 +374,7 @@ pub mod native {
     pub fn maybe_tls_key() -> Option<tls::Key> {
         unsafe {
             // NB: This is a little racy because, while the key is
-            // initalized under a mutex and it's assumed to be initalized
+            // initialized under a mutex and it's assumed to be initialized
             // in the Scheduler ctor by any thread that needs to use it,
             // we are not accessing the key under a mutex.  Threads that
             // are not using the new Scheduler but still *want to check*