Skip to content

Commit

Permalink
Fix odd example where bounds were permitted and then ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Nov 26, 2014
1 parent bc23565 commit 1479a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libterm/lib.rs
Expand Up @@ -115,7 +115,7 @@ pub fn stdout() -> Option<Box<Terminal<WriterWrapper> + Send>> {
#[cfg(not(windows))]
/// Return a Terminal wrapping stderr, or None if a terminal couldn't be
/// opened.
pub fn stderr() -> Option<Box<Terminal<WriterWrapper> + Send> + Send> {
pub fn stderr() -> Option<Box<Terminal<WriterWrapper> + Send>> {
TerminfoTerminal::new(WriterWrapper {
wrapped: box std::io::stderr() as Box<Writer + Send>,
})
Expand Down

0 comments on commit 1479a90

Please sign in to comment.