Explorar o código

aya-bpf: minor fix lpm_trie::key docs

Gabi %!s(int64=2) %!d(string=hai) anos
pai
achega
14bad9ba92
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,