diff --git a/Cargo.toml b/Cargo.toml index 91d7da42..b9913068 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yaml-rust" -version = "0.4.5" # remember to update html_root_url +version = "0.4.6" # remember to update html_root_url authors = ["Yuheng Chen "] homepage = "http://chyh1990.github.io/yaml-rust/" documentation = "https://docs.rs/yaml-rust" @@ -14,4 +14,4 @@ edition = "2018" linked-hash-map = "0.5.3" [dev-dependencies] -quickcheck = "0.9" +quickcheck = "1" diff --git a/src/emitter.rs b/src/emitter.rs index f20a3ed6..d9cc5a19 100644 --- a/src/emitter.rs +++ b/src/emitter.rs @@ -365,7 +365,7 @@ a4: println!("emitted:\n{}", writer); let docs_new = match YamlLoader::load_from_str(&writer) { Ok(y) => y, - Err(e) => panic!(format!("{}", e)), + Err(e) => panic!("{}", e), }; let doc_new = &docs_new[0]; @@ -402,7 +402,7 @@ products: } let docs_new = match YamlLoader::load_from_str(&writer) { Ok(y) => y, - Err(e) => panic!(format!("{}", e)), + Err(e) => panic!("{}", e), }; let doc_new = &docs_new[0]; assert_eq!(doc, doc_new); diff --git a/src/lib.rs b/src/lib.rs index ae95e0fb..caf42707 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -36,7 +36,7 @@ //! //! ``` -#![doc(html_root_url = "https://docs.rs/yaml-rust/0.4.5")] +#![doc(html_root_url = "https://docs.rs/yaml-rust/0.4.6")] #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] #![cfg_attr(feature = "cargo-clippy", warn(cyclomatic_complexity))] #![cfg_attr(