Skip to content

Commit 9b42202

Browse files
committed
Review fixes
1 parent 6962ad0 commit 9b42202

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ir/comp.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ use peeking_take_while::PeekableExt;
1717
use std::cmp;
1818
use std::io;
1919
use std::mem;
20+
use std::collections::HashMap;
2021

2122
/// The kind of compound type.
2223
#[derive(Debug, Copy, Clone, PartialEq)]
@@ -703,8 +704,6 @@ impl CompFields {
703704
}
704705

705706
fn deanonymize_fields(&mut self, ctx: &BindgenContext, methods: &[Method]) {
706-
use std::collections::HashMap;
707-
708707
let fields = match *self {
709708
CompFields::AfterComputingBitfieldUnits(ref mut fields) => fields,
710709
CompFields::BeforeComputingBitfieldUnits(_) => {

0 commit comments

Comments
 (0)