there is no need for item info new to be public

This commit is contained in:
debris 2015-11-25 21:16:24 +01:00
parent c47bf0ce5f
commit 94ecd8c3df

View File

@ -34,7 +34,7 @@ struct ItemInfo {
} }
impl 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 } ItemInfo { prefix_len: prefix_len, value_len: value_len }
} }
} }