about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-03-19 09:50:13 +0000
committerbors <bors@rust-lang.org>2015-03-19 09:50:13 +0000
commitd5408f376f93123a043845b69d467d4b7686ae86 (patch)
tree4f6e31db6cc3d40fbe8830a93e4b7f7267133839 /src/libstd
parent0084f92302b3352372bfd14ebbf083bae695d16e (diff)
parent857035ade7577d23bac596eb43c34e6844ce0b74 (diff)
downloadrust-d5408f376f93123a043845b69d467d4b7686ae86.tar.gz
rust-d5408f376f93123a043845b69d467d4b7686ae86.zip
Auto merge of #23507 - jbcrail:fix-comment-spelling, r=alexcrichton
I corrected misspelled comments in several crates.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/io/stdio.rs2
-rw-r--r--src/libstd/sys/common/rwlock.rs8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/libstd/io/stdio.rs b/src/libstd/io/stdio.rs
index 9b36408aa51..53f67766ea6 100644
--- a/src/libstd/io/stdio.rs
+++ b/src/libstd/io/stdio.rs
@@ -19,7 +19,7 @@ use io::{self, BufReader, LineWriter};
 use sync::{Arc, Mutex, MutexGuard};
 use sys::stdio;
 
-/// Stdout used by print! and println! macroses
+/// Stdout used by print! and println! macros
 thread_local! {
     static LOCAL_STDOUT: RefCell<Option<Box<Write + Send>>> = {
         RefCell::new(None)
diff --git a/src/libstd/sys/common/rwlock.rs b/src/libstd/sys/common/rwlock.rs
index fe374e1fd78..f7d7a5715bc 100644
--- a/src/libstd/sys/common/rwlock.rs
+++ b/src/libstd/sys/common/rwlock.rs
@@ -25,7 +25,7 @@ impl RWLock {
     /// thread to do so.
     ///
     /// Behavior is undefined if the rwlock has been moved between this and any
-    /// previous methodo call.
+    /// previous method call.
     #[inline]
     pub unsafe fn read(&self) { self.0.read() }
 
@@ -35,7 +35,7 @@ impl RWLock {
     /// This function does not block the current thread.
     ///
     /// Behavior is undefined if the rwlock has been moved between this and any
-    /// previous methodo call.
+    /// previous method call.
     #[inline]
     pub unsafe fn try_read(&self) -> bool { self.0.try_read() }
 
@@ -43,7 +43,7 @@ impl RWLock {
     /// to do so.
     ///
     /// Behavior is undefined if the rwlock has been moved between this and any
-    /// previous methodo call.
+    /// previous method call.
     #[inline]
     pub unsafe fn write(&self) { self.0.write() }
 
@@ -53,7 +53,7 @@ impl RWLock {
     /// This function does not block the current thread.
     ///
     /// Behavior is undefined if the rwlock has been moved between this and any
-    /// previous methodo call.
+    /// previous method call.
     #[inline]
     pub unsafe fn try_write(&self) -> bool { self.0.try_write() }