Skip to content

Commit

Permalink
fix(wincon)!: Simplify to static locks
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Aug 22, 2023
1 parent 1d0bac9 commit dedd462
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/anstyle-wincon/src/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<anstyle::AnsiColor>,
Expand Down Expand Up @@ -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<anstyle::AnsiColor>,
Expand Down

0 comments on commit dedd462

Please sign in to comment.