From daa053c933f9bbdf0a4991584613f534f221f897 Mon Sep 17 00:00:00 2001 From: Jakub Stasiak Date: Thu, 25 Jun 2020 15:17:26 +0200 Subject: [PATCH] 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). --- src/cargo/util/config/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo/util/config/mod.rs b/src/cargo/util/config/mod.rs index 28755d05060..3c8a5590c60 100644 --- a/src/cargo/util/config/mod.rs +++ b/src/cargo/util/config/mod.rs @@ -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,