Skip to content

Commit a8ed33f

Browse files
committed
Auto merge of rust-lang#12239 - weihanglo:source-registry-doc, r=epage
docs: doc comments for registry source and index
2 parents 527c948 + 7888167 commit a8ed33f

File tree

3 files changed

+381
-204
lines changed

3 files changed

+381
-204
lines changed

src/cargo/sources/config.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ use log::debug;
1414
use std::collections::{HashMap, HashSet};
1515
use url::Url;
1616

17-
/// Represents the entire `[source]` table in Cargo configuration.
17+
/// Represents the entire [`[source]` replacement table][1] in Cargo configuration.
18+
///
19+
/// [1]: https://doc.rust-lang.org/nightly/cargo/reference/config.html#source
1820
#[derive(Clone)]
1921
pub struct SourceConfigMap<'cfg> {
2022
/// Mapping of source name to the toml configuration.

0 commit comments

Comments
 (0)