mirror of
https://github.com/denoland/deno.git
synced 2025-09-29 13:44:47 +00:00
fix(doc): fix rustdoc bare_urls warning (#11921)
This commit is contained in:
parent
f9d29115a0
commit
bb99d5da4c
10 changed files with 15 additions and 15 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue