From 20b697f7226b0d1f4a7e00709f5ee16603d324d8 Mon Sep 17 00:00:00 2001 From: Stefan Holderbach Date: Wed, 7 Jun 2023 16:36:34 +0200 Subject: [PATCH] Fix internal module reexports (#9378) # Description `cargo +stable check` was complaining about ambiguous wildcard reexports. Fixed by making the reexport of modules not pub as only the explicitly named symbols are actually needed in the current state. # User-Facing Changes None --- crates/nu-command/src/strings/format/mod.rs | 2 +- crates/nu-command/src/strings/split/mod.rs | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/crates/nu-command/src/strings/format/mod.rs b/crates/nu-command/src/strings/format/mod.rs index a6c0013795..a9d728f8c7 100644 --- a/crates/nu-command/src/strings/format/mod.rs +++ b/crates/nu-command/src/strings/format/mod.rs @@ -1,4 +1,4 @@ -pub mod command; +mod command; mod filesize; pub use self::filesize::FileSize; diff --git a/crates/nu-command/src/strings/split/mod.rs b/crates/nu-command/src/strings/split/mod.rs index 5b20dcbcae..878641540e 100644 --- a/crates/nu-command/src/strings/split/mod.rs +++ b/crates/nu-command/src/strings/split/mod.rs @@ -1,9 +1,9 @@ -pub mod chars; -pub mod column; -pub mod command; -pub mod list; -pub mod row; -pub mod words; +mod chars; +mod column; +mod command; +mod list; +mod row; +mod words; pub use chars::SubCommand as SplitChars; pub use column::SubCommand as SplitColumn;