Browse Source

aya: PerCpuKernelMem doesn't need to be public

Alessandro Decina 4 năm trước cách đây
mục cha
commit
aa3a30d196
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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>,
 }