]> Untitled Git - bdk/commitdiff
remove unneeded pub modifier
authorRiccardo Casatta <riccardo@casatta.it>
Mon, 16 Nov 2020 11:11:37 +0000 (12:11 +0100)
committerRiccardo Casatta <riccardo@casatta.it>
Mon, 16 Nov 2020 11:11:37 +0000 (12:11 +0100)
src/database/memory.rs

index eeacd131c61f64d26ca04afdd56aa99b3f07d3f6..707cd951570564e8cb286b4fcb7d3e4ee82600b7 100644 (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();