Skip to content

Commit 5ba0ecc

Browse files
committed
Auto merge of #8052 - ehuss:rustdoc-warnings, r=alexcrichton
Squelch some rustdoc warnings. Removes the warning `warning: `[target]` cannot be resolved, ignoring it.` when documenting cargo itself.
2 parents 0c0231e + b5b42b6 commit 5ba0ecc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cargo/util/config/target.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use serde::Deserialize;
55
use std::collections::{BTreeMap, HashMap};
66
use std::path::PathBuf;
77

8-
/// Config definition of a [target.'cfg(…)'] table.
8+
/// Config definition of a `[target.'cfg(…)']` table.
99
///
1010
/// This is a subset of `TargetConfig`.
1111
#[derive(Debug, Deserialize)]
@@ -19,7 +19,7 @@ pub struct TargetCfgConfig {
1919
pub other: BTreeMap<String, toml::Value>,
2020
}
2121

22-
/// Config definition of a [target] table.
22+
/// Config definition of a `[target]` table.
2323
#[derive(Debug)]
2424
pub struct TargetConfig {
2525
/// Process to run as a wrapper for `cargo run`, `test`, and `bench` commands.

0 commit comments

Comments
 (0)