Skip to content

Commit

Permalink
sharding: make ShardingError pub(crate)
Browse files Browse the repository at this point in the history
This error type is used only internally. The `ShardInfo` struct is
pub(crate) as well.
  • Loading branch information
muzarski committed Jan 27, 2025
1 parent ea19dec commit 4c7fc3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scylla/src/routing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]

Expand Down

0 comments on commit 4c7fc3c

Please sign in to comment.