Mercurial > public > mercurial-scm > hg
comparison rust/hg-core/examples/nodemap/index.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 | 4c5f6e95df84 |
children |
comparison
equal
deleted
inserted
replaced
52177:3d797007905d | 52178:bd8081e9fd62 |
---|---|
2 // | 2 // |
3 // This software may be used and distributed according to the terms of the | 3 // This software may be used and distributed according to the terms of the |
4 // GNU General Public License version 2 or any later version. | 4 // GNU General Public License version 2 or any later version. |
5 | 5 |
6 //! Minimal `RevlogIndex`, readable from standard Mercurial file format | 6 //! Minimal `RevlogIndex`, readable from standard Mercurial file format |
7 use hg::revlog::RevlogIndex; | |
7 use hg::*; | 8 use hg::*; |
8 use memmap2::*; | 9 use memmap2::*; |
9 use std::fs::File; | 10 use std::fs::File; |
10 use std::ops::Deref; | 11 use std::ops::Deref; |
11 use std::path::Path; | 12 use std::path::Path; |