]> git.lizzy.rs Git - rust.git/commitdiff
typos
authormemoryleak47 <memoryleak47@protonmail.ch>
Thu, 5 Apr 2018 11:04:00 +0000 (13:04 +0200)
committermemoryleak47 <memoryleak47@protonmail.ch>
Thu, 5 Apr 2018 11:04:00 +0000 (13:04 +0200)
src/libstd/lib.rs
src/libstd/panic.rs
src/libstd/sys/windows/pipe.rs

index 36eb72918221004e9da36b038e598bd5d169da47..67ef47569d631b10839bc5b3740dda98296c1893 100644 (file)
 // During testing, this crate is not actually the "real" std library, but rather
 // it links to the real std library, which was compiled from this same source
 // code. So any lang items std defines are conditionally excluded (or else they
-// wolud generate duplicate lang item errors), and any globals it defines are
+// would generate duplicate lang item errors), and any globals it defines are
 // _not_ the globals used by "real" std. So this import, defined only during
 // testing gives test-std access to real-std lang items and globals. See #2912
 #[cfg(test)] extern crate std as realstd;
index 79857104b9b6877bc3f9095d05a9f5707a74355e..28c178307a51049aa413d236a1ccd6d0561440e9 100644 (file)
@@ -188,7 +188,7 @@ pub struct AssertUnwindSafe<T>(
 // * By default everything is unwind safe
 // * pointers T contains mutability of some form are not unwind safe
 // * Unique, an owning pointer, lifts an implementation
-// * Types like Mutex/RwLock which are explicilty poisoned are unwind safe
+// * Types like Mutex/RwLock which are explicitly poisoned are unwind safe
 // * Our custom AssertUnwindSafe wrapper is indeed unwind safe
 
 #[stable(feature = "catch_unwind", since = "1.9.0")]
index f3b1185c6ea91d2532b3f88c32257d4afb85ccb5..df1dd7401af619476582db504075646df2ea6109 100644 (file)
@@ -236,7 +236,7 @@ enum State {
 impl<'a> AsyncPipe<'a> {
     fn new(pipe: Handle, dst: &'a mut Vec<u8>) -> io::Result<AsyncPipe<'a>> {
         // Create an event which we'll use to coordinate our overlapped
-        // opreations, this event will be used in WaitForMultipleObjects
+        // operations, this event will be used in WaitForMultipleObjects
         // and passed as part of the OVERLAPPED handle.
         //
         // Note that we do a somewhat clever thing here by flagging the