about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorJoseph Crail <jbcrail@gmail.com>2015-02-04 23:00:02 -0500
committerJoseph Crail <jbcrail@gmail.com>2015-02-04 23:00:02 -0500
commitdc2e444e506c31e8f4a4331c7f6264ca6c107bb6 (patch)
treeeee7ee05c474531329e04db0cce74ae2d87422fd /src/libstd/sys
parentba2f13ef0667ce90f55ab0f1506bf5ee7b852d96 (diff)
downloadrust-dc2e444e506c31e8f4a4331c7f6264ca6c107bb6.tar.gz
rust-dc2e444e506c31e8f4a4331c7f6264ca6c107bb6.zip
Fix for misspelled comments.
The spelling corrections were made in both documentation comments and
regular comments.
Diffstat (limited to 'src/libstd/sys')
-rw-r--r--src/libstd/sys/common/wtf8.rs2
-rw-r--r--src/libstd/sys/windows/thread_local.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sys/common/wtf8.rs b/src/libstd/sys/common/wtf8.rs
index b30af10986b..158c491aeae 100644
--- a/src/libstd/sys/common/wtf8.rs
+++ b/src/libstd/sys/common/wtf8.rs
@@ -84,7 +84,7 @@ impl CodePoint {
 
     /// Create a new `CodePoint` from a `char`.
     ///
-    /// Since all Unicode scalar values are code points, this always succeds.
+    /// Since all Unicode scalar values are code points, this always succeeds.
     #[inline]
     pub fn from_char(value: char) -> CodePoint {
         CodePoint { value: value as u32 }
diff --git a/src/libstd/sys/windows/thread_local.rs b/src/libstd/sys/windows/thread_local.rs
index 54a32e43daf..0c24ab1fa09 100644
--- a/src/libstd/sys/windows/thread_local.rs
+++ b/src/libstd/sys/windows/thread_local.rs
@@ -191,7 +191,7 @@ unsafe fn unregister_dtor(key: Key) -> bool {
 // # What's up with this callback?
 //
 // The callback specified receives a number of parameters from... someone!
-// (the kernel? the runtime? I'm not qute sure!) There are a few events that
+// (the kernel? the runtime? I'm not quite sure!) There are a few events that
 // this gets invoked for, but we're currently only interested on when a
 // thread or a process "detaches" (exits). The process part happens for the
 // last thread and the thread part happens for any normal thread.