diff rust/hg-core/src/dirstate.rs @ 52299:b422acba55f1

rust-dirstate: remove star exports This makes the crate's imports confusing and muddies the discovery of the code.
author Rapha?l Gom?s <rgomes@octobus.net>
date Mon, 04 Nov 2024 11:07:05 +0100
parents db065b33fa56
children 79e8118cd846
line wrap: on
line diff
--- a/rust/hg-core/src/dirstate.rs	Mon Nov 04 11:00:58 2024 +0100
+++ b/rust/hg-core/src/dirstate.rs	Mon Nov 04 11:07:05 2024 +0100
@@ -10,6 +10,7 @@
 use crate::revlog::Node;
 use crate::utils::hg_path::HgPath;
 use bytes_cast::BytesCast;
+use entry::DirstateEntry;
 
 pub mod dirs_multiset;
 pub mod dirstate_map;
@@ -20,8 +21,6 @@
 pub mod path_with_basename;
 pub mod status;
 
-pub use self::entry::*;
-
 #[derive(Debug, PartialEq, Copy, Clone, BytesCast)]
 #[repr(C)]
 pub struct DirstateParents {