Remove deprecated API

This commit is contained in:
Anton Kochkov 2020-05-27 14:19:22 +08:00
parent 95562ac849
commit 8d26a5eca3
2 changed files with 1 additions and 7 deletions

View file

@ -8,6 +8,7 @@ license = "MIT/Apache-2.0"
description = "The missing YAML 1.2 parser for rust"
repository = "https://github.com/chyh1990/yaml-rust"
readme = "README.md"
edition = "2018"
[dependencies]
linked-hash-map = ">=0.0.9, <0.6"

View file

@ -10,13 +10,6 @@ pub enum EmitError {
}
impl Error for EmitError {
fn description(&self) -> &str {
match *self {
EmitError::FmtError(ref err) => err.description(),
EmitError::BadHashmapKey => "bad hashmap key",
}
}
fn cause(&self) -> Option<&dyn Error> {
None
}