diff options
| -rw-r--r-- | src/unexpected.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unexpected.rs b/src/unexpected.rs index 0338ce4..470dd76 100644 --- a/src/unexpected.rs +++ b/src/unexpected.rs @@ -90,7 +90,7 @@ impl UnexpectedError { /// /// let err = UnexpectedError::msg("failed"); /// ``` - pub fn msg<E: Errorable + 'static>(e: E) -> Self { + pub fn msg<E: Display + Debug + Send + Sync + 'static>(e: E) -> Self { Self { internal: ErrorTy::Message(Box::new(e)), } |
