aya: hash_map: add doc aliases for HASH and LRU_HASH

pull/1/head
Alessandro Decina 4 years ago
parent 7a989b43b9
commit 6cec8be564

@ -32,6 +32,8 @@ use crate::{
/// hm.insert(CONFIG_KEY_NUM_RETRIES, 3, 0 /* flags */);
/// # Ok::<(), aya::BpfError>(())
/// ```
#[doc(alias = "BPF_MAP_TYPE_HASH")]
#[doc(alias = "BPF_MAP_TYPE_LRU_HASH")]
pub struct HashMap<T: Deref<Target = Map>, K, V> {
inner: T,
_k: PhantomData<K>,

Loading…
Cancel
Save