Mercurial > public > mercurial-scm > hg-stable
diff rust/hg-core/src/revlog/patch.rs @ 52308: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 | e01e84e5e426 |
children | 8497cfb0d76c |
line wrap: on
line diff
--- a/rust/hg-core/src/revlog/patch.rs Thu Aug 01 11:27:20 2024 +0200 +++ b/rust/hg-core/src/revlog/patch.rs Thu Sep 26 14:26:24 2024 +0200 @@ -1,6 +1,6 @@ use byteorder::{BigEndian, ByteOrder}; -use crate::RevlogError; +use crate::revlog::RevlogError; use super::inner_revlog::RevisionBuffer; @@ -229,7 +229,7 @@ #[cfg(test)] mod tests { - use crate::inner_revlog::CoreRevisionBuffer; + use crate::revlog::inner_revlog::CoreRevisionBuffer; use super::*;