diff rust/hg-core/src/repo.rs @ 52774: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 79e8118cd846
children
line wrap: on
line diff
--- a/rust/hg-core/src/repo.rs	Fri Jan 03 10:50:17 2025 -0500
+++ b/rust/hg-core/src/repo.rs	Thu Jan 16 13:15:02 2025 -0500
@@ -15,7 +15,7 @@
 use crate::utils::debug::debug_wait_for_file_or_print;
 use crate::utils::files::get_path_from_bytes;
 use crate::utils::hg_path::HgPath;
-use crate::utils::SliceExt;
+use crate::utils::strings::SliceExt;
 use crate::vfs::{is_dir, is_file, Vfs, VfsImpl};
 use crate::{exit_codes, requirements, NodePrefix, UncheckedRevision};
 use std::cell::{Ref, RefCell, RefMut};