Skip to content

Commit 08453d5

Browse files
committed
Fix compiletest doc comments
1 parent b3e1e41 commit 08453d5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/tools/compiletest/src/header.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ pub struct TestProps {
125125
// Build documentation for all specified aux-builds as well
126126
pub build_aux_docs: bool,
127127
/// Build the documentation for each crate in a unique output directory.
128-
/// Uses <root output directory>/docs/<test name>/doc
128+
/// Uses `<root output directory>/docs/<test name>/doc`.
129129
pub unique_doc_out_dir: bool,
130130
// Flag to force a crate to be built with the host architecture
131131
pub force_host: bool,
@@ -1304,12 +1304,12 @@ pub fn llvm_has_libzstd(config: &Config) -> bool {
13041304
false
13051305
}
13061306

1307-
/// Takes a directive of the form "<version1> [- <version2>]",
1308-
/// returns the numeric representation of <version1> and <version2> as
1309-
/// tuple: (<version1> as u32, <version2> as u32)
1307+
/// Takes a directive of the form `"<version1> [- <version2>]"`,
1308+
/// returns the numeric representation of `<version1>` and `<version2>` as
1309+
/// tuple: `(<version1> as u32, <version2> as u32)`.
13101310
///
1311-
/// If the <version2> part is omitted, the second component of the tuple
1312-
/// is the same as <version1>.
1311+
/// If the `<version2>` part is omitted, the second component of the tuple
1312+
/// is the same as `<version1>`.
13131313
fn extract_version_range<F>(line: &str, parse: F) -> Option<(u32, u32)>
13141314
where
13151315
F: Fn(&str) -> Option<u32>,

0 commit comments

Comments
 (0)