Mercurial > public > mercurial-scm > hg
diff rust/rhg/src/ui.rs @ 52303: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 | 532e74ad3ff6 |
children | 56e8841a454c |
line wrap: on
line diff
--- a/rust/rhg/src/ui.rs Mon Nov 04 11:21:43 2024 +0100 +++ b/rust/rhg/src/ui.rs Mon Nov 04 11:26:41 2024 +0100 @@ -6,10 +6,10 @@ use hg::config::Config; use hg::config::PlainInfo; use hg::errors::HgError; +use hg::filepatterns::PatternFileWarning; use hg::repo::Repo; use hg::sparse; use hg::utils::files::get_bytes_from_path; -use hg::PatternFileWarning; use std::borrow::Cow; use std::io; use std::io::{ErrorKind, Write};