refactor(allocator): fix filter_map_next clippy warnings
#21215
+11
−14
Merged