Skip to content

Commit ffb6ee9

Browse files
committed
Auto merge of #11357 - hi-rustin:rustin-patch-warnings, r=ehuss
Fix not a hyperlink warnings ### What does this PR try to resolve? Fix not a hyperlink warnings. ```log warning: this URL is not a hyperlink --> crates/cargo-util/src/process_builder.rs:206:11 | 206 | /// - https://doc.rust-lang.org/rustdoc/command-line-arguments.html#path-load-command-line-flags-from-a-path | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://doc.rust-lang.org/rustdoc/command-line-arguments.html#path-load-command-line-flags-from-a-path>` | = note: `#[warn(rustdoc::bare_urls)]` on by default = note: bare URLs are not automatically turned into clickable links warning: this URL is not a hyperlink --> crates/cargo-util/src/process_builder.rs:207:11 | 207 | /// - https://doc.rust-lang.org/rustc/command-line-arguments.html#path-load-command-line-flags-from-a-path> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://doc.rust-lang.org/rustc/command-line-arguments.html#path-load-command-line-flags-from-a-path>` | = note: bare URLs are not automatically turned into clickable links warning: `cargo-util` (lib doc) generated 2 warnings ``` ### How should we test and review this PR? `cargo doc --open`
2 parents 0756938 + 6de9ed1 commit ffb6ee9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/cargo-util/src/process_builder.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ impl ProcessBuilder {
203203
///
204204
/// Ref:
205205
///
206-
/// - https://doc.rust-lang.org/rustdoc/command-line-arguments.html#path-load-command-line-flags-from-a-path
207-
/// - https://doc.rust-lang.org/rustc/command-line-arguments.html#path-load-command-line-flags-from-a-path>
206+
/// - <https://doc.rust-lang.org/rustdoc/command-line-arguments.html#path-load-command-line-flags-from-a-path>
207+
/// - <https://doc.rust-lang.org/rustc/command-line-arguments.html#path-load-command-line-flags-from-a-path>
208208
pub fn retry_with_argfile(&mut self, enabled: bool) -> &mut Self {
209209
self.retry_with_argfile = enabled;
210210
self

0 commit comments

Comments
 (0)