From 9d9da0d1512202af7802d13b1c3c33a1a077a84e Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 10 Aug 2026 04:38:35 +0900 Subject: refactor(symfony): hide leaf modules behind their parent re-exports Every parent module in the symfony-* crates already re-exported its leaf modules with `pub use`, so each item was reachable by two paths. Make the leaf modules private and route all callers through the single re-exported path. Co-Authored-By: Claude Opus 5 (1M context) --- crates/shirabe-symfony-console/src/exception.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'crates/shirabe-symfony-console/src/exception.rs') diff --git a/crates/shirabe-symfony-console/src/exception.rs b/crates/shirabe-symfony-console/src/exception.rs index 356b5955..b8d040b2 100644 --- a/crates/shirabe-symfony-console/src/exception.rs +++ b/crates/shirabe-symfony-console/src/exception.rs @@ -1,11 +1,11 @@ -pub mod command_not_found_exception; -pub mod exception_interface; -pub mod invalid_argument_exception; -pub mod invalid_option_exception; -pub mod logic_exception; -pub mod missing_input_exception; -pub mod namespace_not_found_exception; -pub mod runtime_exception; +mod command_not_found_exception; +mod exception_interface; +mod invalid_argument_exception; +mod invalid_option_exception; +mod logic_exception; +mod missing_input_exception; +mod namespace_not_found_exception; +mod runtime_exception; pub use command_not_found_exception::*; pub use exception_interface::*; -- cgit v1.3.1-4-g156e