diff --git a/lib/src/repo_path.rs b/lib/src/repo_path.rs index 82ba63e0a..68abae74d 100644 --- a/lib/src/repo_path.rs +++ b/lib/src/repo_path.rs @@ -173,7 +173,7 @@ pub struct RepoPath { impl Debug for RepoPath { fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { - f.write_fmt(format_args!("{:?}", &self.value)) + write!(f, "{:?}", &self.value) } }