Mercurial > public > mercurial-scm > hg
comparison rust/hg-core/src/utils.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 | 62eabdf91f85 |
children | 3fe40dd6355d |
comparison
equal
deleted
inserted
replaced
42884:775224e26d74 | 42885:a03a29462c0a |
---|