mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-19 09:40:22 -07:00
Fix typos
This commit is contained in:
parent
f887bc1f86
commit
f4770c2094
@ -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 ()>),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user