We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc8f8de commit b993147Copy full SHA for b993147
validates/src/lib.rs
@@ -6,7 +6,7 @@ pub enum ValidationError {
6
Help(Vec<String>),
7
}
8
9
-impl<E: Error + 'static> From<E> for ValidationError {
+impl<E: Error> From<E> for ValidationError {
10
fn from(e: E) -> ValidationError {
11
return ValidationError::Message(format!("{:?}", e));
12
0 commit comments