From 4c7fc3c67247768fe1a1dde6b48b587825f67fa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Uzarski?= Date: Mon, 27 Jan 2025 18:09:15 +0100 Subject: [PATCH] sharding: make ShardingError pub(crate) This error type is used only internally. The `ShardInfo` struct is pub(crate) as well. --- scylla/src/routing/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scylla/src/routing/mod.rs b/scylla/src/routing/mod.rs index 0d56256118..7dadaa8bee 100644 --- a/scylla/src/routing/mod.rs +++ b/scylla/src/routing/mod.rs @@ -13,8 +13,8 @@ pub mod locator; pub mod partitioner; mod sharding; -pub(crate) use sharding::ShardInfo; -pub use sharding::{Shard, ShardCount, Sharder, ShardingError}; +pub use sharding::{Shard, ShardCount, Sharder}; +pub(crate) use sharding::{ShardInfo, ShardingError}; #[derive(PartialEq, Eq, PartialOrd, Ord, Clone, Copy, Debug)]