rust-dirs-multiset: use `AsRef` instead of concrete types when possible...
rust-dirs-multiset: use `AsRef` instead of concrete types when possible
I also renamed `vec` to `dirstate`, because it was not a great name.
Differential Revision:
https://phab.mercurial-scm.org/D7524