We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c064961 commit 1ae0ed4Copy full SHA for 1ae0ed4
src/libterm/lib.rs
@@ -124,7 +124,7 @@ pub fn stderr() -> Option<Box<Terminal<WriterWrapper> + Send>> {
124
#[cfg(windows)]
125
/// Return a Terminal wrapping stderr, or None if a terminal couldn't be
126
/// opened.
127
-pub fn stderr() -> Option<Box<Terminal<WriterWrapper> + Send> + Send> {
+pub fn stderr() -> Option<Box<Terminal<WriterWrapper> + Send>> {
128
let ti = TerminfoTerminal::new(WriterWrapper {
129
wrapped: box std::io::stderr() as Box<Writer + Send>,
130
});
0 commit comments