Skip to content

Commit aa88536

Browse files
committed
Make TickIndexBitmap fields private
1 parent 1b2efeb commit aa88536

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pallets/swap/src/tick.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -379,11 +379,11 @@ impl TickIndex {
379379
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
380380
pub struct TickIndexBitmap {
381381
/// The position in layer 0 (top layer)
382-
pub layer0: (u32, u32), // (word, bit)
382+
layer0: (u32, u32), // (word, bit)
383383
/// The position in layer 1 (middle layer)
384-
pub layer1: (u32, u32), // (word, bit)
384+
layer1: (u32, u32), // (word, bit)
385385
/// The position in layer 2 (bottom layer)
386-
pub layer2: (u32, u32), // (word, bit)
386+
layer2: (u32, u32), // (word, bit)
387387
}
388388

389389
impl TickIndexBitmap {

0 commit comments

Comments
 (0)