diff rust/hg-core/src/operations/debugdata.rs @ 52178:bd8081e9fd62

rust: don't star export from the `revlog` module This made a lot of the imports confusing because they didn't make sense at the top level (so, outside of `revlog`), and they hide the more common types when autocompleting.
author Rapha?l Gom?s <rgomes@octobus.net>
date Thu, 26 Sep 2024 14:26:24 +0200
parents 039b7caeb4d9
children a3fa37bdb7ec
line wrap: on
line diff
--- a/rust/hg-core/src/operations/debugdata.rs	Thu Aug 01 11:27:20 2024 +0200
+++ b/rust/hg-core/src/operations/debugdata.rs	Thu Sep 26 14:26:24 2024 +0200
@@ -6,10 +6,10 @@
 // GNU General Public License version 2 or any later version.
 
 use crate::errors::HgError;
+use crate::exit_codes;
 use crate::repo::Repo;
 use crate::revlog::options::default_revlog_options;
-use crate::revlog::Revlog;
-use crate::{exit_codes, RevlogError, RevlogType};
+use crate::revlog::{Revlog, RevlogError, RevlogType};
 
 /// Dump the contents data of a revision.
 pub fn debug_data(