there is no need for item info new to be public
This commit is contained in:
parent
c47bf0ce5f
commit
94ecd8c3df
@ -34,7 +34,7 @@ struct ItemInfo {
|
||||
}
|
||||
|
||||
impl ItemInfo {
|
||||
pub fn new(prefix_len: usize, value_len: usize) -> ItemInfo {
|
||||
fn new(prefix_len: usize, value_len: usize) -> ItemInfo {
|
||||
ItemInfo { prefix_len: prefix_len, value_len: value_len }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user