Skip to content

Commit

Permalink
fix trait bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
BurntSushi committed Dec 30, 2016
1 parent 883c4d9 commit b746516
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ impl<W> IntoInnerError<W> {
}
}

impl<W: Send + fmt::Debug> fmt::Debug for IntoInnerError<W> {
impl<W> fmt::Debug for IntoInnerError<W> {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
self.error().fmt(f)
}
Expand All @@ -308,7 +308,7 @@ impl<W> fmt::Display for IntoInnerError<W> {
}
}

impl<W: Send + fmt::Debug> error::Error for IntoInnerError<W> {
impl<W: ::std::any::Any> error::Error for IntoInnerError<W> {
fn description(&self) -> &str {
self.error().description()
}
Expand Down

0 comments on commit b746516

Please sign in to comment.