From edad0d3e8e5c0c6ca295678e6113b3f9201ff4df Mon Sep 17 00:00:00 2001 From: Daniel Parks Date: Thu, 6 Jul 2023 12:30:58 -0700 Subject: [PATCH] Fix warnings in `cargo doc` from invalid link This just changes a doc comment to use backticks to wrap an format string rather than double quotes. Elsewhere in the crate format strings are wrapped in bacckticks in doc comments, so this seemed like the most consistent solution. --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 40758cc1..505d2211 100644 --- a/src/config.rs +++ b/src/config.rs @@ -187,7 +187,7 @@ impl ConfigBuilder { /// The easiest way to satisfy the static lifetime of the argument is to directly use the /// re-exported [`time::macros::format_description`] macro. /// - /// *Note*: The default time format is "[hour]:[minute]:[second]". + /// *Note*: The default time format is `[hour]:[minute]:[second]`. /// /// The syntax for the format_description macro can be found in the /// [`time` crate book](https://time-rs.github.io/book/api/format-description.html).