D7870: rust-utils: add `Escaped` trait
Alphare (Raphaël Gomès)
phabricator at mercurial-scm.org
Wed Jan 15 16:56:45 EST 2020
Alphare added a comment.
In D7870#115935 <https://phab.mercurial-scm.org/D7870#115935>, @kevincox wrote:
> I'm not convinced PrettyPrint is the best name. I might call it something more to do with escaping instead of "pretty". However I can't think of anything great.
Yeah, I am not convinced either. I've sent a new patch, maybe that's better?
INLINE COMMENTS
> kevincox wrote in utils.rs:146
> write!(acc, "\\x{:x}", self).unwrap();
Oh nice!
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7870/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7870
To: Alphare, #hg-reviewers, kevincox
Cc: durin42, kevincox, mercurial-devel
More information about the Mercurial-devel
mailing list