소스 검색

aya: PerCpuKernelMem doesn't need to be public

Alessandro Decina 4 년 전
부모
커밋
aa3a30d196
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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>,
 }