Page MenuHomePhabricator

rustfilepatterns: refactor the pattern of removing a prefix from a &[u8]

Authored by valentin.gatienbaron on Aug 26 2019, 8:28 AM.

Diff Detail

rHG Mercurial
Lint Skipped
Unit Tests Skipped

Event Timeline

kevincox accepted this revision.Aug 28 2019, 5:33 AM
kevincox added inline comments.
44 ↗(On Diff #16319)

I have a small preference for drop_prefix.

44 ↗(On Diff #16319)

Put a space in needle: &Self

86 ↗(On Diff #16319)

Put a space in needle: &Self

valentin.gatienbaron marked 3 inline comments as done.Aug 28 2019, 7:45 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.