diff rust/rhg/src/blackbox.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 58aa5ee9c846
children
line wrap: on
line diff
--- a/rust/rhg/src/blackbox.rs	Fri Jan 03 10:50:17 2025 -0500
+++ b/rust/rhg/src/blackbox.rs	Thu Jan 16 13:15:02 2025 -0500
@@ -4,7 +4,7 @@
 use format_bytes::format_bytes;
 use hg::errors::HgError;
 use hg::repo::Repo;
-use hg::utils::{files::get_bytes_from_os_str, shell_quote};
+use hg::utils::{files::get_bytes_from_os_str, strings::shell_quote};
 use std::ffi::OsString;
 
 // Python does not support %.3f, only %f