diff options
author | Feng Yu <f3n67u@gmail.com> | 2021-09-05 22:22:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-05 16:22:45 +0200 |
commit | bb99d5da4c9d7d17e08097d004bf36f0976a678c (patch) | |
tree | 358ad4c80ed7ebffc9f291ca84490b667012be24 /cli/tools/fmt.rs | |
parent | f9d29115a0164a861c99b36a0919324920225e42 (diff) |
fix(doc): fix rustdoc bare_urls warning (#11921)
Diffstat (limited to 'cli/tools/fmt.rs')
-rw-r--r-- | cli/tools/fmt.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tools/fmt.rs b/cli/tools/fmt.rs index 33c3599d7..59f9ddc8b 100644 --- a/cli/tools/fmt.rs +++ b/cli/tools/fmt.rs @@ -89,7 +89,7 @@ pub async fn format( Ok(()) } -/// Formats markdown (using https://github.com/dprint/dprint-plugin-markdown) and its code blocks +/// Formats markdown (using <https://github.com/dprint/dprint-plugin-markdown>) and its code blocks /// (ts/tsx, js/jsx). fn format_markdown( file_text: &str, @@ -144,8 +144,8 @@ fn format_markdown( } /// Formats JSON and JSONC using the rules provided by .deno() -/// of configuration builder of https://github.com/dprint/dprint-plugin-json. -/// See https://git.io/Jt4ht for configuration. +/// of configuration builder of <https://github.com/dprint/dprint-plugin-json>. +/// See <https://git.io/Jt4ht> for configuration. fn format_json(file_text: &str) -> Result<String, String> { let json_config = get_json_config(); dprint_plugin_json::format_text(file_text, &json_config) |