comparison rust/hg-core/src/utils.rs @ 52759: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
comparison
equal deleted inserted replaced
52758:df7fb698f7a8 52759:36d39726c0af
20 20
21 pub mod debug; 21 pub mod debug;
22 pub mod files; 22 pub mod files;
23 pub mod hg_path; 23 pub mod hg_path;
24 pub mod path_auditor; 24 pub mod path_auditor;
25 pub mod strings;
25 26
26 /// Useful until rust/issues/56345 is stable 27 /// Useful until rust/issues/56345 is stable
27 /// 28 ///
28 /// # Examples 29 /// # Examples
29 /// 30 ///