changeset 46596 | d2e61f00ee9d |
parent 46593 | 5ce2aa7c2ad5 |
child 46601 | 755c31a1caf9 |
--- 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);