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/helper/table_separator.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'crates/shirabe-symfony-console/src/helper/table_separator.rs') diff --git a/crates/shirabe-symfony-console/src/helper/table_separator.rs b/crates/shirabe-symfony-console/src/helper/table_separator.rs index 898a6630..7c1735c6 100644 --- a/crates/shirabe-symfony-console/src/helper/table_separator.rs +++ b/crates/shirabe-symfony-console/src/helper/table_separator.rs @@ -1,7 +1,7 @@ //! ref: composer/vendor/symfony/console/Helper/TableSeparator.php -use crate::exception::invalid_argument_exception::InvalidArgumentException; -use crate::helper::table_cell::{TableCell, TableCellOption}; +use crate::exception::InvalidArgumentException; +use crate::helper::{TableCell, TableCellOption}; use indexmap::IndexMap; /// Marks a row as being a separator. @@ -30,9 +30,7 @@ impl TableSeparator { self.inner.get_rowspan() } - pub fn get_style( - &self, - ) -> Option> { + pub fn get_style(&self) -> Option> { self.inner.get_style() } } -- cgit v1.3.1-4-g156e