about summary refs log tree commit diff
path: root/src/libstd/rt
diff options
context:
space:
mode:
authorJoseph Crail <jbcrail@gmail.com>2014-04-21 00:49:39 -0400
committerJoseph Crail <jbcrail@gmail.com>2014-04-21 00:49:39 -0400
commit809f13ea9441d972b5777a9c8bf837add9484a45 (patch)
tree5d96475ab271730a20ff6532778b632504ab0c81 /src/libstd/rt
parent30348f46757ad0e68f69eccd31e5de345a010ac0 (diff)
downloadrust-809f13ea9441d972b5777a9c8bf837add9484a45.tar.gz
rust-809f13ea9441d972b5777a9c8bf837add9484a45.zip
Fix misspellings in comments.
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*