4
0
Эх сурвалжийг харах

maps: remove some stale comments

Tamir Duberstein 1 сар өмнө
parent
commit
e17feca2d6

+ 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);