This is an archive of the discontinued Mercurial Phabricator instance.

rust-utils: introduce `subslice_index` function
AbandonedPublic

Authored by Alphare on Jan 24 2020, 5:12 AM.

Details

Reviewers
martinvonz
Group Reviewers
hg-reviewers
Summary

I implemented it for something that did not turn out to need it, maybe it'll be
useful?

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

Alphare created this revision.Jan 24 2020, 5:12 AM
martinvonz requested changes to this revision.Jan 24 2020, 11:45 AM
martinvonz added a subscriber: martinvonz.

Sorry to be dismissive, but please hold on to it until it becomes needed then. I'm strongly against adding dead code unless we know we're at least going to use it soon.

This revision now requires changes to proceed.Jan 24 2020, 11:45 AM

Sure, that is completely fine, I'll remove it from the stack.

Alphare abandoned this revision.Jan 24 2020, 11:52 AM
Alphare updated this revision to Diff 19959.Feb 6 2020, 11:48 AM
Alphare abandoned this revision.Feb 6 2020, 11:48 AM

I was certain to have pruned this one. I'll do it.