Skip to content

Commit 45954df

Browse files
committed
Fix odd example where bounds were permitted and then ignored
1 parent f697939 commit 45954df

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
@@ -115,7 +115,7 @@ pub fn stdout() -> Option<Box<Terminal<WriterWrapper> + Send>> {
115115
#[cfg(not(windows))]
116116
/// Return a Terminal wrapping stderr, or None if a terminal couldn't be
117117
/// opened.
118-
pub fn stderr() -> Option<Box<Terminal<WriterWrapper> + Send> + Send> {
118+
pub fn stderr() -> Option<Box<Terminal<WriterWrapper> + Send>> {
119119
TerminfoTerminal::new(WriterWrapper {
120120
wrapped: box std::io::stderr() as Box<Writer + Send>,
121121
})

0 commit comments

Comments
 (0)