diff --git a/cli/src/commands/debug/mod.rs b/cli/src/commands/debug/mod.rs index e01b4e5cae..bee6b9648f 100644 --- a/cli/src/commands/debug/mod.rs +++ b/cli/src/commands/debug/mod.rs @@ -12,18 +12,18 @@ // See the License for the specific language governing permissions and // limitations under the License. -pub mod copy_detection; -pub mod fileset; -pub mod index; -pub mod local_working_copy; -pub mod operation; -pub mod reindex; -pub mod revset; -pub mod snapshot; -pub mod template; -pub mod tree; -pub mod watchman; -pub mod working_copy; +mod copy_detection; +mod fileset; +mod index; +mod local_working_copy; +mod operation; +mod reindex; +mod revset; +mod snapshot; +mod template; +mod tree; +mod watchman; +mod working_copy; use std::any::Any; use std::fmt::Debug; diff --git a/cli/src/commands/file/mod.rs b/cli/src/commands/file/mod.rs index 81d659b39d..1fd7a43951 100644 --- a/cli/src/commands/file/mod.rs +++ b/cli/src/commands/file/mod.rs @@ -12,11 +12,11 @@ // See the License for the specific language governing permissions and // limitations under the License. -pub mod annotate; -pub mod chmod; -pub mod list; -pub mod show; -pub mod track; +mod annotate; +mod chmod; +mod list; +mod show; +mod track; pub mod untrack; use crate::cli_util::CommandHelper; diff --git a/cli/src/commands/git/init.rs b/cli/src/commands/git/init.rs index b4399da0d9..950f2518ac 100644 --- a/cli/src/commands/git/init.rs +++ b/cli/src/commands/git/init.rs @@ -112,7 +112,7 @@ pub fn cmd_git_init( Ok(()) } -pub fn do_init( +fn do_init( ui: &mut Ui, command: &CommandHelper, workspace_root: &Path, diff --git a/cli/src/commands/git/mod.rs b/cli/src/commands/git/mod.rs index b9a804b425..a1ac0acd3a 100644 --- a/cli/src/commands/git/mod.rs +++ b/cli/src/commands/git/mod.rs @@ -12,14 +12,14 @@ // See the License for the specific language governing permissions and // limitations under the License. -pub mod clone; -pub mod export; -pub mod fetch; -pub mod import; -pub mod init; -pub mod push; -pub mod remote; -pub mod submodule; +mod clone; +mod export; +mod fetch; +mod import; +mod init; +mod push; +mod remote; +mod submodule; use std::path::Path; diff --git a/cli/src/commands/git/remote/mod.rs b/cli/src/commands/git/remote/mod.rs index 3d56ec4b36..9f2847f42c 100644 --- a/cli/src/commands/git/remote/mod.rs +++ b/cli/src/commands/git/remote/mod.rs @@ -12,11 +12,11 @@ // See the License for the specific language governing permissions and // limitations under the License. -pub mod add; -pub mod list; -pub mod remove; -pub mod rename; -pub mod set_url; +mod add; +mod list; +mod remove; +mod rename; +mod set_url; use clap::Subcommand;