Skip to content

Commit

Permalink
doc: document the key of the returned hash
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Desmottes authored and gdesmott committed Feb 8, 2021
1 parent a727fbd commit 7b14339
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,8 @@ impl Config {

/// Probe all libraries configured in the Cargo.toml
/// `[package.metadata.system-deps]` section.
///
/// The returned hash is using the the `toml` key defining the dependency as key.
pub fn probe(self) -> Result<HashMap<String, Library>, Error> {
let (libraries, flags) = self.probe_full()?;

Expand Down

0 comments on commit 7b14339

Please sign in to comment.