From 3539a7c04a3d9abc579442b81b1873b7f4893701 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Fri, 14 Jun 2024 11:41:11 -0400 Subject: [PATCH] Fix a `cargo doc` warning in the `zed` crate (#13054) This PR fixes a warning I observed when running `cargo doc` against the `zed` crate: ``` Documenting zed v0.141.0 (/Users/maxdeviant/projects/zed/crates/zed) warning: this URL is not a hyperlink --> crates/zed/src/main.rs:860:69 | 860 | /// URLs can either be file:// or zed:// scheme, or relative to https://zed.dev. | ^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` | = note: bare URLs are not automatically turned into clickable links = note: `#[warn(rustdoc::bare_urls)]` on by default ``` Release Notes: - N/A --- crates/zed/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/zed/src/main.rs b/crates/zed/src/main.rs index 95a118edc5..a70104036d 100644 --- a/crates/zed/src/main.rs +++ b/crates/zed/src/main.rs @@ -857,7 +857,7 @@ struct Args { /// Use `path:line:row` syntax to open a file at a specific location. /// Non-existing paths and directories will ignore `:line:row` suffix. /// - /// URLs can either be file:// or zed:// scheme, or relative to https://zed.dev. + /// URLs can either be `file://` or `zed://` scheme, or relative to . paths_or_urls: Vec, /// Instructs zed to run as a dev server on this machine. (not implemented)