D7867: rust-hg-path: add useful methods to `HgPath`
kevincox (Kevin Cox)
phabricator at mercurial-scm.org
Wed Jan 15 09:59:52 EST 2020
kevincox added inline comments.
kevincox accepted this revision.
INLINE COMMENTS
> hg_path.rs:189
> + &self.inner[..]
> + };
> + HgPath::new(match inner.iter().rposition(|b| *b == b'/') {
It would be nice to have a `trim_trailing_slash` helper.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7867/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7867
To: Alphare, #hg-reviewers, kevincox
Cc: durin42, kevincox, mercurial-devel
More information about the Mercurial-devel
mailing list