Skip to content

Commit 1ae0ed4

Browse files
committed
Fix extraneous +Send
1 parent c064961 commit 1ae0ed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libterm/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ pub fn stderr() -> Option<Box<Terminal<WriterWrapper> + Send>> {
124124
#[cfg(windows)]
125125
/// Return a Terminal wrapping stderr, or None if a terminal couldn't be
126126
/// opened.
127-
pub fn stderr() -> Option<Box<Terminal<WriterWrapper> + Send> + Send> {
127+
pub fn stderr() -> Option<Box<Terminal<WriterWrapper> + Send>> {
128128
let ti = TerminfoTerminal::new(WriterWrapper {
129129
wrapped: box std::io::stderr() as Box<Writer + Send>,
130130
});

0 commit comments

Comments
 (0)