Skip to content

Commit 7cb9435

Browse files
fix(norelease): clippy
1 parent 0efd1f9 commit 7cb9435

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bb-funcs/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ fn main() -> Result<()> {
5454
// there can be other children like dllimport, typeref for return type, etc
5555
let args: Vec<Entity<'_>> = f.get_children();
5656
dbg!(&args);
57-
let all_children_kind = iter_funcs(&tu).map(|x| x.get_children()).flatten();
57+
let all_children_kind = iter_funcs(&tu).flat_map(|x| x.get_children());
5858
let mut ek: HashSet<clang::EntityKind> = HashSet::new();
5959
for entry in all_children_kind {
6060
if entry.get_kind() == EntityKind::DllImport {

0 commit comments

Comments
 (0)