소스 검색

Merge pull request #360 from conectado/patch-1

Minor fix for `lpm_trie::key` docs
Alessandro Decina 2 년 전
부모
커밋
2f715f0036
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      bpf/aya-bpf/src/maps/lpm_trie.rs

+ 1 - 1
bpf/aya-bpf/src/maps/lpm_trie.rs

@@ -19,7 +19,7 @@ unsafe impl<K: Sync, V: Sync> Sync for LpmTrie<K, V> {}
 
 #[repr(packed)]
 pub struct Key<K> {
-    /// Represents the number of bytes matched against.
+    /// Represents the number of bits matched against.
     pub prefix_len: u32,
     /// Represents arbitrary data stored in the LpmTrie.
     pub data: K,