Explorar o código

aya: PerCpuKernelMem doesn't need to be public

Alessandro Decina %!s(int64=4) %!d(string=hai) anos
pai
achega
aa3a30d196
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>,
 }