Skip to content

Commit b6d2560

Browse files
committed
add missing backticks in doc
1 parent 2bd356c commit b6d2560

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/lib.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ impl fmt::Display for Error {
297297
}
298298

299299
#[derive(Debug, Default)]
300-
/// All the system dependencies retrieved by [Config::probe].
300+
/// All the system dependencies retrieved by [`Config::probe`].
301301
pub struct Dependencies {
302302
libs: HashMap<String, Library>,
303303
}
@@ -344,7 +344,7 @@ impl Dependencies {
344344
v
345345
}
346346

347-
/// Returns a vector of [Library::libs] of each library, removing duplicates.
347+
/// Returns a vector of [`Library::libs`] of each library, removing duplicates.
348348
pub fn all_libs(&self) -> Vec<&str> {
349349
let mut v = self
350350
.libs
@@ -356,27 +356,27 @@ impl Dependencies {
356356
v
357357
}
358358

359-
/// Returns a vector of [Library::link_paths] of each library, removing duplicates.
359+
/// Returns a vector of [`Library::link_paths`] of each library, removing duplicates.
360360
pub fn all_link_paths(&self) -> Vec<&PathBuf> {
361361
self.aggregate_path_buf(|l| &l.link_paths)
362362
}
363363

364-
/// Returns a vector of [Library::frameworks] of each library, removing duplicates.
364+
/// Returns a vector of [`Library::frameworks`] of each library, removing duplicates.
365365
pub fn all_frameworks(&self) -> Vec<&str> {
366366
self.aggregate_str(|l| &l.frameworks)
367367
}
368368

369-
/// Returns a vector of [Library::framework_paths] of each library, removing duplicates.
369+
/// Returns a vector of [`Library::framework_paths`] of each library, removing duplicates.
370370
pub fn all_framework_paths(&self) -> Vec<&PathBuf> {
371371
self.aggregate_path_buf(|l| &l.framework_paths)
372372
}
373373

374-
/// Returns a vector of [Library::include_paths] of each library, removing duplicates.
374+
/// Returns a vector of [`Library::include_paths`] of each library, removing duplicates.
375375
pub fn all_include_paths(&self) -> Vec<&PathBuf> {
376376
self.aggregate_path_buf(|l| &l.include_paths)
377377
}
378378

379-
/// Returns a vector of [Library::ld_args] of each library, removing duplicates.
379+
/// Returns a vector of [`Library::ld_args`] of each library, removing duplicates.
380380
pub fn all_linker_args(&self) -> Vec<&Vec<String>> {
381381
let mut v = self
382382
.libs
@@ -388,7 +388,7 @@ impl Dependencies {
388388
v
389389
}
390390

391-
/// Returns a vector of [Library::defines] of each library, removing duplicates.
391+
/// Returns a vector of [`Library::defines`] of each library, removing duplicates.
392392
pub fn all_defines(&self) -> Vec<(&str, &Option<String>)> {
393393
let mut v = self
394394
.libs

0 commit comments

Comments
 (0)