Skip to content

Commit

Permalink
Fix warnings in cargo doc from invalid link
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
danielparks committed Jul 6, 2023
1 parent 70f4dcb commit edad0d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit edad0d3

Please sign in to comment.