Skip to content

Commit

Permalink
Ensure we don't leak data types.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamirTalwar committed Mar 4, 2024
1 parent 6dbdddf commit 5554a1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rust-connector-sdk/src/default_main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ mod ndc_test_commands {
}
}

pub async fn test<Setup: super::ConnectorSetup>(
pub(super) async fn test<Setup: super::ConnectorSetup>(
setup: Setup,
command: super::TestCommand,
) -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
Expand All @@ -592,7 +592,7 @@ mod ndc_test_commands {
Ok(())
}

pub async fn replay<Setup: super::ConnectorSetup>(
pub(super) async fn replay<Setup: super::ConnectorSetup>(
setup: Setup,
command: super::ReplayCommand,
) -> Result<(), Box<dyn Error + Send + Sync>> {
Expand All @@ -612,7 +612,7 @@ mod ndc_test_commands {
Ok(())
}

pub async fn bench<Setup: ConnectorSetup>(
pub(super) async fn bench<Setup: ConnectorSetup>(
setup: Setup,
command: BenchCommand,
) -> Result<(), Box<dyn Error + Send + Sync>> {
Expand Down

0 comments on commit 5554a1b

Please sign in to comment.