Skip to content

Commit ebbc9ce

Browse files
authored
Rollup merge of rust-lang#64995 - GuillaumeGomez:libtest-rustdoc-warning, r=Mark-Simulacrum
Remove rustdoc warning Removes this warning: ```bash Finished release [optimized] target(s) in 2.62s Documenting core v0.0.0 (/home/imperio/rust/rust/src/libcore) Finished release [optimized] target(s) in 15.23s Documenting std v0.0.0 (/home/imperio/rust/rust/src/libstd) Finished release [optimized] target(s) in 17.30s Documenting proc_macro v0.0.0 (/home/imperio/rust/rust/src/libproc_macro) Finished release [optimized] target(s) in 2.36s Documenting test v0.0.0 (/home/imperio/rust/rust/src/libtest) warning: `[0]` cannot be resolved, ignoring it... --> src/libtest/lib.rs:1112:41 | 1112 | /// supplied channel. Requires argv[0] to exist and point to the binary | ^ cannot be resolved, ignoring | = note: `#[warn(intra_doc_link_resolution_failure)]` on by default = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` Finished release [optimized] target(s) in 1.64s Build completed successfully in 0:02:07 ```
2 parents 34ea559 + 70dcb99 commit ebbc9ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libtest/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,7 @@ pub enum RunStrategy {
11091109
InProcess,
11101110

11111111
/// Spawns a subprocess to run the test, and sends the result back over the
1112-
/// supplied channel. Requires argv[0] to exist and point to the binary
1112+
/// supplied channel. Requires `argv[0]` to exist and point to the binary
11131113
/// that's currently running.
11141114
SpawnPrimary,
11151115
}

0 commit comments

Comments
 (0)