Mercurial > hg
diff rust/hg-core/src/dirstate/dirs_multiset.rs @ 52305:79e8118cd846
rust-lib: move `Dirstate*Error` to the `dirstate` module
That's where they belong and should always have been there.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Mon, 04 Nov 2024 11:18:36 +0100 |
parents | b422acba55f1 |
children |
line wrap: on
line diff
--- a/rust/hg-core/src/dirstate/dirs_multiset.rs Mon Nov 04 11:13:05 2024 +0100 +++ b/rust/hg-core/src/dirstate/dirs_multiset.rs Mon Nov 04 11:18:36 2024 +0100 @@ -14,11 +14,12 @@ files, hg_path::{HgPath, HgPathBuf, HgPathError}, }, - DirstateError, DirstateMapError, FastHashMap, + FastHashMap, }; use std::collections::{hash_map, hash_map::Entry, HashMap, HashSet}; use super::entry::DirstateEntry; +use super::{DirstateError, DirstateMapError}; // could be encapsulated if we care API stability more seriously pub type DirsMultisetIter<'a> = hash_map::Keys<'a, HgPathBuf, u32>;