diff rust/hg-core/src/utils.rs @ 52773:36d39726c0af

rust: add utils::strings module This is intended for code similar to stringutil.py. This commit adds one method, short_user, which will be needed for rhg annotate.
author Mitchell Kember <mkember@janestreet.com>
date Fri, 03 Jan 2025 10:50:17 -0500
parents f4aede0f01af
children 94e2547e6f3d
line wrap: on
line diff
--- a/rust/hg-core/src/utils.rs	Fri Jan 03 10:22:11 2025 -0500
+++ b/rust/hg-core/src/utils.rs	Fri Jan 03 10:50:17 2025 -0500
@@ -22,6 +22,7 @@
 pub mod files;
 pub mod hg_path;
 pub mod path_auditor;
+pub mod strings;
 
 /// Useful until rust/issues/56345 is stable
 ///