Mercurial > public > mercurial-scm > hg
diff rust/hg-core/src/filepatterns.rs @ 42885:a03a29462c0a
rust-dirstate: specify concrete return type of DirsMultiset::iter()
This allows us to put a returned iterator in a struct. We could implement
DirsMultisetIter(hash_map::Keys<..>) struct to hide the implementation
detail, but I think type alias is good enough for us.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 08 Sep 2019 11:55:29 +0900 |
parents | 69195b6f8f97 |
children | 7a01778bc7b7 |