The default prints the vector of bytes as a list of integers. I
considered instead getting rid of the Debug trait, but we use the
Debug format in lots of derived Debug instances, so we probably do
want to implement it.
Details
Details
- Reviewers
kevincox Alphare pulkit - Group Reviewers
hg-reviewers - Commits
- rHG4b3c8df189bc: rust-hg-path: implement more readable custom Debug for HgPath{,Buf}
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
I would recommend "HgPath({:?})" so that the result is unambiguous and nicely escaped.