Mercurial > public > mercurial-scm > hg
diff rust/hg-core/src/operations/cat.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 | 1928b770e3e7 |
children | a3fa37bdb7ec |
line wrap: on
line diff
--- a/rust/hg-core/src/operations/cat.rs Thu Aug 01 11:27:20 2024 +0200 +++ b/rust/hg-core/src/operations/cat.rs Thu Sep 26 14:26:24 2024 +0200 @@ -12,8 +12,8 @@ use crate::utils::hg_path::HgPath; use crate::errors::HgError; -use crate::manifest::Manifest; -use crate::manifest::ManifestEntry; +use crate::revlog::manifest::Manifest; +use crate::revlog::manifest::ManifestEntry; use itertools::put_back; use itertools::PutBack; use std::cmp::Ordering;