Merge pull request #89 from marcaddeo/master

Add a cause() method to EmitError
This commit is contained in:
Chen Yuheng 2017-11-22 10:48:52 +08:00 committed by GitHub
commit db768d59bb

View file

@ -17,6 +17,10 @@ impl Error for EmitError {
EmitError::BadHashmapKey => "bad hashmap key",
}
}
fn cause(&self) -> Option<&Error> {
None
}
}
impl Display for EmitError {