diff rust/hg-cpython/src/dirstate/status.rs @ 52339:22d24f6d6411

rust-lib: remove exports for not too common pattern-related types This only muddies the lib and makes the imports more confusing.
author Rapha?l Gom?s <rgomes@octobus.net>
date Mon, 04 Nov 2024 11:26:41 +0100
parents f33b87b46135
children
line wrap: on
line diff
--- a/rust/hg-cpython/src/dirstate/status.rs	Mon Nov 04 11:21:43 2024 +0100
+++ b/rust/hg-cpython/src/dirstate/status.rs	Mon Nov 04 11:26:41 2024 +0100
@@ -17,19 +17,19 @@
 use hg::dirstate::status::{
     BadMatch, DirstateStatus, StatusError, StatusOptions, StatusPath,
 };
-use hg::filepatterns::PatternError;
+use hg::filepatterns::{
+    parse_pattern_syntax_kind, IgnorePattern, PatternError, PatternFileWarning,
+};
 use hg::matchers::{
     DifferenceMatcher, IntersectionMatcher, Matcher, NeverMatcher,
     PatternMatcher, UnionMatcher,
 };
 use hg::{
     matchers::{AlwaysMatcher, FileMatcher, IncludeMatcher},
-    parse_pattern_syntax_kind,
     utils::{
         files::{get_bytes_from_path, get_path_from_bytes},
         hg_path::{HgPath, HgPathBuf},
     },
-    IgnorePattern, PatternFileWarning,
 };
 use std::borrow::Borrow;