Skip to content

Commit daa053c

Browse files
committed
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).
1 parent f2aba14 commit daa053c

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)