diff rust/hg-cpython/src/dirstate/dirs_multiset.rs @ 52304:04b9a56c2d25

rust-lib: only export very common types to the top of the crate This was done very early in the Rust project's lifecycle and I had very little Rust experience. Let's keep the `DirstateParents` since they'll pop up in all higher-level code and make the rest more explicit imports to make the imports less confusing and the lib less cluttered.
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 04 Nov 2024 11:13:05 +0100
parents 6a019a037085
children
line wrap: on
line diff
--- a/rust/hg-cpython/src/dirstate/dirs_multiset.rs	Mon Nov 04 11:07:05 2024 +0100
+++ b/rust/hg-cpython/src/dirstate/dirs_multiset.rs	Mon Nov 04 11:13:05 2024 +0100
@@ -16,8 +16,8 @@
 };
 
 use hg::{
+    dirstate::dirs_multiset::{DirsMultiset, DirsMultisetIter},
     utils::hg_path::{HgPath, HgPathBuf},
-    DirsMultiset, DirsMultisetIter,
 };
 
 py_class!(pub class Dirs |py| {