Skip to content

Commit

Permalink
Improve the description of Config.home_path
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
jstasiak committed Jun 25, 2020
1 parent f2aba14 commit daa053c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/util/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ macro_rules! get_value_typed {
/// relating to cargo itself.
#[derive(Debug)]
pub struct Config {
/// The location of the user's 'home' directory. OS-dependent.
/// The location of the user's Cargo home directory. OS-dependent.
home_path: Filesystem,
/// Information about how to write messages to the shell
shell: RefCell<Shell>,
Expand Down

0 comments on commit daa053c

Please sign in to comment.