This is an archive of the discontinued Mercurial Phabricator instance.

rust-dirstate: improve API of `DirsMultiset`
ClosedPublic

Authored by Alphare on Jul 24 2019, 11:22 AM.

Details

Summary
  • Use opaque Iterator type instead of implementation-specific one from HashMap
  • Make DirsMultiset behave like a set both in Rust and from Python

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.

Event Timeline

Alphare created this revision.Jul 24 2019, 11:22 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.