mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-27 06:27:43 +00:00
repo_path: use write!() macro to implement Debug
This commit is contained in:
parent
0b833ea9c0
commit
1134dc159e
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ pub struct RepoPath {
|
||||||
|
|
||||||
impl Debug for RepoPath {
|
impl Debug for RepoPath {
|
||||||
fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
|
fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
|
||||||
f.write_fmt(format_args!("{:?}", &self.value))
|
write!(f, "{:?}", &self.value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue