remove unneeded pub modifier

This commit is contained in:
Riccardo Casatta 2020-11-16 12:11:37 +01:00
parent 25da54d5ec
commit 755d76bf54
No known key found for this signature in database
GPG Key ID: FD986A969E450397

View File

@ -57,7 +57,7 @@ pub(crate) enum MapKey<'a> {
}
impl MapKey<'_> {
pub fn as_prefix(&self) -> Vec<u8> {
fn as_prefix(&self) -> Vec<u8> {
match self {
MapKey::Path((st, _)) => {
let mut v = b"p".to_vec();