Skip to content

Commit 3b142db

Browse files
committed
Auto merge of #8408 - jstasiak:improve-home-path-documentation, r=alexcrichton
Improve the description of Config.home_path I poked around and it seems it's not the user's home directory but Cargo home (which may or may not be in user's home).
2 parents f2aba14 + daa053c commit 3b142db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/util/config/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ macro_rules! get_value_typed {
122122
/// relating to cargo itself.
123123
#[derive(Debug)]
124124
pub struct Config {
125-
/// The location of the user's 'home' directory. OS-dependent.
125+
/// The location of the user's Cargo home directory. OS-dependent.
126126
home_path: Filesystem,
127127
/// Information about how to write messages to the shell
128128
shell: RefCell<Shell>,

0 commit comments

Comments
 (0)