Mercurial > public > mercurial-scm > hg
diff rust/hg-pyo3/src/revlog/mod.rs @ 52841:28f0f00b5dbd
rust-pyo3: rename the `util` file to `utils`
This is the convention in the rust code, since all other places are plural.
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Sun, 05 Jan 2025 23:39:02 +0100 |
parents | 9749a97d3cfb |
children | 8de68446a5bd |
line wrap: on
line diff
--- a/rust/hg-pyo3/src/revlog/mod.rs Tue Jan 07 17:37:06 2025 +0100 +++ b/rust/hg-pyo3/src/revlog/mod.rs Sun Jan 05 23:39:02 2025 +0100 @@ -42,7 +42,7 @@ BaseRevision, Revision, UncheckedRevision, NULL_REVISION, }; -use crate::util::PyBytesDeref; +use crate::utils::PyBytesDeref; use crate::{ exceptions::{ graph_error, map_lock_error, map_try_lock_error, nodemap_error, @@ -55,7 +55,7 @@ }, store::PyFnCache, transaction::PyTransaction, - util::{new_submodule, take_buffer_with_slice, with_pybytes_buffer}, + utils::{new_submodule, take_buffer_with_slice, with_pybytes_buffer}, }; mod config;