From dedd4620e63e303a9295e4209e8e84468a58fec4 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Wed, 9 Aug 2023 15:45:33 -0500 Subject: [PATCH] fix(wincon)!: Simplify to static locks --- crates/anstyle-wincon/src/stream.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,