Skip to content

Commit

Permalink
fix: Remove redundant Any bound on easy::Errors
Browse files Browse the repository at this point in the history
Fixes #177
  • Loading branch information
Marwes committed Aug 4, 2018
1 parent 908f9eb commit 1660104
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/stream/easy.rs
Expand Up @@ -79,7 +79,6 @@
//! ```
//!
//! [`Parser::easy_parse`]: ../parser/trait.Parser.html#method.easy_parse
use std::any::Any;
use std::error::Error as StdError;
use std::fmt;

Expand Down Expand Up @@ -691,9 +690,9 @@ impl<I, R, P> Errors<I, R, P> {

impl<I, R, P> StdError for Errors<I, R, P>
where
P: fmt::Display + fmt::Debug + Any,
I: fmt::Display + fmt::Debug + Any,
R: fmt::Display + fmt::Debug + Any,
P: fmt::Display + fmt::Debug,
I: fmt::Display + fmt::Debug,
R: fmt::Display + fmt::Debug,
{
fn description(&self) -> &str {
"parse error"
Expand Down

0 comments on commit 1660104

Please sign in to comment.