Skip to content

Commit

Permalink
Auto merge of #8408 - jstasiak:improve-home-path-documentation, r=ale…
Browse files Browse the repository at this point in the history
…xcrichton

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).
  • Loading branch information
bors committed Jun 25, 2020
2 parents f2aba14 + daa053c commit 3b142db
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 3b142db

Please sign in to comment.