Skip to content

Commit

Permalink
added docs
Browse files Browse the repository at this point in the history
  • Loading branch information
clitic committed Nov 23, 2024
1 parent e5be474 commit 2c5030d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kdam/src/term/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ impl Writer {
}
}

/// Initialized output for writer.
pub enum InitializedOutput {
Null,
Stderr,
Expand Down Expand Up @@ -81,7 +82,7 @@ impl InitializedOutput {
Self::Stderr => Box::new(stderr().lock()),
Self::Stdout => Box::new(stdout().lock()),
Self::Tty(f) => Box::new(f),
InitializedOutput::Null => Box::new(NullWriter),
Self::Null => Box::new(NullWriter),
}
}

Expand Down

0 comments on commit 2c5030d

Please sign in to comment.