We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6962ad0 commit 9b42202Copy full SHA for 9b42202
src/ir/comp.rs
@@ -17,6 +17,7 @@ use peeking_take_while::PeekableExt;
17
use std::cmp;
18
use std::io;
19
use std::mem;
20
+use std::collections::HashMap;
21
22
/// The kind of compound type.
23
#[derive(Debug, Copy, Clone, PartialEq)]
@@ -703,8 +704,6 @@ impl CompFields {
703
704
}
705
706
fn deanonymize_fields(&mut self, ctx: &BindgenContext, methods: &[Method]) {
- use std::collections::HashMap;
707
-
708
let fields = match *self {
709
CompFields::AfterComputingBitfieldUnits(ref mut fields) => fields,
710
CompFields::BeforeComputingBitfieldUnits(_) => {
0 commit comments