Skip to content

Commit 39683fd

Browse files
committed
fix: make lazy_sync_runner() pub(crate)
lazy_sync_runner() is now also used by the sync_builder thus it cannot be private anymore. But we don't have to expose it as public API. Signed-off-by: mbodmer <marc.bodmer@email.ch>
1 parent 405aab8 commit 39683fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testcontainers/src/runners/sync_runner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ where
4949
}
5050
}
5151

52-
pub fn lazy_sync_runner() -> Result<Arc<tokio::runtime::Runtime>> {
52+
pub(crate) fn lazy_sync_runner() -> Result<Arc<tokio::runtime::Runtime>> {
5353
let mut guard = ASYNC_RUNTIME
5454
.get_or_init(|| Mutex::new(Weak::new()))
5555
.lock()

0 commit comments

Comments
 (0)