diff --git a/crates/anstyle-wincon/src/stream.rs b/crates/anstyle-wincon/src/stream.rs index 3ffba9c5..13d56909 100644 --- a/crates/anstyle-wincon/src/stream.rs +++ b/crates/anstyle-wincon/src/stream.rs @@ -34,7 +34,7 @@ impl WinconStream for std::io::Stdout { } } -impl<'s> WinconStream for std::io::StdoutLock<'s> { +impl WinconStream for std::io::StdoutLock<'static> { fn set_colors( &mut self, fg: Option, @@ -66,7 +66,7 @@ impl WinconStream for std::io::Stderr { } } -impl<'s> WinconStream for std::io::StderrLock<'s> { +impl WinconStream for std::io::StderrLock<'static> { fn set_colors( &mut self, fg: Option,