From f72eafb049416d0fd9f1f9d2f3fbc90a9a67abae Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Tue, 2 Aug 2022 22:28:44 +1000 Subject: [PATCH] Use `PathBuf` for field `Options::install_path` Since it does not require a utf-8 string. Signed-off-by: Jiahao XU --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 61d9c86f..b1fba258 100644 --- a/src/main.rs +++ b/src/main.rs @@ -114,7 +114,7 @@ struct Options { /// switches over to a "local" install, where binaries are installed at the path given, and the /// global metadata files are not updated. #[clap(help_heading = "Options", long)] - install_path: Option, + install_path: Option, /// Enforce downloads over secure transports only. ///