Преглед изворни кода

maps: remove some stale comments

Tamir Duberstein пре 1 месец
родитељ
комит
e17feca2d6
2 измењених фајлова са 0 додато и 2 уклоњено
  1. 0 1
      aya/src/maps/bloom_filter.rs
  2. 0 1
      aya/src/maps/lpm_trie.rs

+ 0 - 1
aya/src/maps/bloom_filter.rs

@@ -118,7 +118,6 @@ mod tests {
 
     #[test]
     fn test_try_from_wrong_map() {
-        // Use any map type here other than BPF_MAP_TYPE_PERF_EVENT_ARRAY as it will trip miri
         let map = new_map(test_utils::new_obj_map::<u32>(BPF_MAP_TYPE_ARRAY));
         let map = Map::Array(map);
 

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

@@ -247,7 +247,6 @@ mod tests {
 
     #[test]
     fn test_try_from_wrong_map() {
-        // Use any map type here other than BPF_MAP_TYPE_PERF_EVENT_ARRAY as it will trip miri
         let map = new_map(test_utils::new_obj_map::<u32>(BPF_MAP_TYPE_ARRAY));
         let map = Map::Array(map);