remove unneeded pub modifier

This commit is contained in:
Riccardo Casatta committed 2020-11-16 12:11:37 +01:00
1 parent 25da54d5ec
commit 755d76bf54
1 file changed
+1 -1
+1 -1
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();