diff -r 98a455a62699 -r d2e61f00ee9d rust/rhg/src/main.rs --- a/rust/rhg/src/main.rs Wed Feb 17 12:24:53 2021 +0100 +++ b/rust/rhg/src/main.rs Wed Feb 17 11:21:34 2021 +0100 @@ -70,8 +70,7 @@ }; let config_args = values_of_global_arg("config") - // `get_bytes_from_path` works for OsStr the same as for Path - .map(hg::utils::files::get_bytes_from_path); + .map(hg::utils::files::get_bytes_from_os_str); let non_repo_config = &hg::config::Config::load(config_args)?; let repo_path = value_of_global_arg("repository").map(Path::new);