diff --git a/README.md b/README.md index 700131e..0811197 100644 --- a/README.md +++ b/README.md @@ -234,7 +234,7 @@ dual licensed as above, without any additional terms or conditions. [`serde`]: https://docs.rs/serde/1.0/serde/index [`serde_json`]: https://docs.rs/serde_json/1.0/serde_json/enum.Value.html [`serde_json::Value`]: https://docs.rs/serde_json/1.0/serde_json/enum.Value.html -[`toml`]: https://docs.rs/toml/0.8/toml/enum.Value.html -[`toml::Value`]: https://docs.rs/toml/0.8/toml/enum.Value.html +[`toml`]: https://docs.rs/toml/0.9/toml/enum.Value.html +[`toml::Value`]: https://docs.rs/toml/0.9/toml/enum.Value.html [`Path`]: https://doc.rust-lang.org/std/path/struct.Path.html [`PathBuf`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html diff --git a/src/diagnostic.rs b/src/diagnostic.rs index 086cb69..e909dbc 100644 --- a/src/diagnostic.rs +++ b/src/diagnostic.rs @@ -17,7 +17,7 @@ pub trait Diagnostic: Sized { /// The docs.rs URL for this error fn url() -> &'static str; - /// Returns the label for the given [`Subject`] if applicable. + /// Returns the label for the given [`Subject`](Diagnostic::Subject) if applicable. fn labels(&self, subject: &Self::Subject) -> Option>>; } @@ -51,8 +51,8 @@ impl From