Skip to content

Commit

Permalink
Auto merge of #12239 - weihanglo:source-registry-doc, r=epage
Browse files Browse the repository at this point in the history
docs: doc comments for registry source and index
  • Loading branch information
bors committed Jun 7, 2023
2 parents 527c948 + 7888167 commit a8ed33f
Show file tree
Hide file tree
Showing 3 changed files with 381 additions and 204 deletions.
4 changes: 3 additions & 1 deletion src/cargo/sources/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ use log::debug;
use std::collections::{HashMap, HashSet};
use url::Url;

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

0 comments on commit a8ed33f

Please sign in to comment.