Fix typos

This commit is contained in:
Shubham Lagwankar 2017-10-21 22:18:34 -04:00 committed by Andrew Gallant
parent f887bc1f86
commit f4770c2094

View File

@ -239,7 +239,7 @@ impl io::Write for IoStandardStream {
} }
} }
/// Same rigamorale for the locked variants of the standard streams. /// Same rigmarole for the locked variants of the standard streams.
enum IoStandardStreamLock<'a> { enum IoStandardStreamLock<'a> {
StdoutLock(io::StdoutLock<'a>), StdoutLock(io::StdoutLock<'a>),
@ -295,7 +295,7 @@ enum WriterInnerLock<'a, W> {
Ansi(Ansi<W>), Ansi(Ansi<W>),
/// What a gross hack. On Windows, we need to specify a lifetime for the /// What a gross hack. On Windows, we need to specify a lifetime for the
/// console when in a locked state, but obviously don't need to do that /// console when in a locked state, but obviously don't need to do that
/// on Unix, which make the `'a` unused. To satisfy the compiler, we need /// on Unix, which makes the `'a` unused. To satisfy the compiler, we need
/// a PhantomData. /// a PhantomData.
#[allow(dead_code)] #[allow(dead_code)]
Unreachable(::std::marker::PhantomData<&'a ()>), Unreachable(::std::marker::PhantomData<&'a ()>),