changeset 47410 | ebdef6283798 |
parent 47380 | bd88b6bfd8da |
child 47411 | 88119fffecc8 |
--- a/rust/hg-core/src/repo.rs Mon Jun 07 17:10:35 2021 -0400 +++ b/rust/hg-core/src/repo.rs Sun Apr 11 00:50:10 2021 +0530 @@ -53,7 +53,7 @@ /// Having two methods would just move that `if` to almost all callers. pub fn find( config: &Config, - explicit_path: Option<&Path>, + explicit_path: Option<PathBuf>, ) -> Result<Self, RepoError> { if let Some(root) = explicit_path { if root.join(".hg").is_dir() {