Prechádzať zdrojové kódy

aya: PerCpuKernelMem doesn't need to be public

Alessandro Decina 4 rokov pred
rodič
commit
aa3a30d196
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      aya/src/maps/mod.rs

+ 1 - 1
aya/src/maps/mod.rs

@@ -282,7 +282,7 @@ impl TryFrom<u32> for bpf_map_type {
         })
     }
 }
-pub struct PerCpuKernelMem {
+pub(crate) struct PerCpuKernelMem {
     bytes: Vec<u8>,
 }