Mercurial > public > mercurial-scm > hg
diff rust/hg-core/src/revlog/filelog.rs @ 49937:750409505286
rust-clippy: merge "revlog" module definition and struct implementation
Module inception is confusing when looking for code and almost never
the right choice.
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Tue, 10 Jan 2023 11:20:54 +0100 |
parents | e98fd81bb151 |
children | 1928b770e3e7 |
line wrap: on
line diff
--- a/rust/hg-core/src/revlog/filelog.rs Tue Jan 10 10:57:15 2023 +0100 +++ b/rust/hg-core/src/revlog/filelog.rs Tue Jan 10 11:20:54 2023 +0100 @@ -1,10 +1,10 @@ use crate::errors::HgError; use crate::repo::Repo; use crate::revlog::path_encode::path_encode; -use crate::revlog::revlog::RevlogEntry; -use crate::revlog::revlog::{Revlog, RevlogError}; use crate::revlog::NodePrefix; use crate::revlog::Revision; +use crate::revlog::RevlogEntry; +use crate::revlog::{Revlog, RevlogError}; use crate::utils::files::get_path_from_bytes; use crate::utils::hg_path::HgPath; use crate::utils::SliceExt;