Skip to content

Commit ea42466

Browse files
authored
Merge pull request #12 from 51yu/error
derive std Error trait
2 parents a3f5d38 + d082214 commit ea42466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use std::fmt::{Debug, Display};
22
use std::result;
33
use thiserror::Error;
44

5-
#[derive(Debug)]
5+
#[derive(Debug, Error)]
66
pub struct Error(Box<ErrorImpl>);
77

88
impl Display for Error {

0 commit comments

Comments
 (0)