Skip to content

Commit 54a6497

Browse files
committed
docs(gctx): use intra-doc link
1 parent bee8cb7 commit 54a6497

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/cargo/util/context/mod.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
//!
1212
//! There are a variety of helper types for deserializing some common formats:
1313
//!
14-
//! - `value::Value`: This type provides access to the location where the
14+
//! - [`value::Value`]: This type provides access to the location where the
1515
//! config value was defined.
16-
//! - `ConfigRelativePath`: For a path that is relative to where it is
16+
//! - [`ConfigRelativePath`]: For a path that is relative to where it is
1717
//! defined.
18-
//! - `PathAndArgs`: Similar to `ConfigRelativePath`, but also supports a list
19-
//! of arguments, useful for programs to execute.
20-
//! - `StringList`: Get a value that is either a list or a whitespace split
18+
//! - [`PathAndArgs`]: Similar to [`ConfigRelativePath`],
19+
//! but also supports a list of arguments, useful for programs to execute.
20+
//! - [`StringList`]: Get a value that is either a list or a whitespace split
2121
//! string.
2222
//!
2323
//! ## Map key recommendations
@@ -43,10 +43,10 @@
4343
//!
4444
//! ## Internal API
4545
//!
46-
//! Internally config values are stored with the `ConfigValue` type after they
46+
//! Internally config values are stored with the [`ConfigValue`] type after they
4747
//! have been loaded from disk. This is similar to the `toml::Value` type, but
4848
//! includes the definition location. The `get()` method uses serde to
49-
//! translate from `ConfigValue` and environment variables to the caller's
49+
//! translate from [`ConfigValue`] and environment variables to the caller's
5050
//! desired type.
5151
5252
use crate::util::cache_lock::{CacheLock, CacheLockMode, CacheLocker};

0 commit comments

Comments
 (0)