Mercurial > public > mercurial-scm > hg
diff rust/hg-core/src/utils/files.rs @ 52760:94e2547e6f3d
rust: move code from utils to utils::strings
This moves string-related functions in hg::utils into the recently added
hg::utils::strings module.
author | Mitchell Kember <mkember@janestreet.com> |
---|---|
date | Thu, 16 Jan 2025 13:15:02 -0500 |
parents | 66e34bc44280 |
children | 6183949219b2 |
line wrap: on
line diff
--- a/rust/hg-core/src/utils/files.rs Fri Jan 03 10:50:17 2025 -0500 +++ b/rust/hg-core/src/utils/files.rs Thu Jan 16 13:15:02 2025 -0500 @@ -12,7 +12,7 @@ use crate::utils::{ hg_path::{path_to_hg_path_buf, HgPath, HgPathBuf, HgPathError}, path_auditor::PathAuditor, - replace_slice, + strings::replace_slice, }; use lazy_static::lazy_static; use same_file::is_same_file;