File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,12 @@ pub trait ParseCallbacks: fmt::Debug {
135
135
///
136
136
/// If no additional attributes are wanted, this function should return an
137
137
/// empty `Vec`.
138
- fn process_attributes ( & self , _info : & AttributeInfo < ' _ > , _attributes : & mut HashSet < String > ) { }
138
+ fn process_attributes (
139
+ & self ,
140
+ _info : & AttributeInfo < ' _ > ,
141
+ _attributes : & mut HashSet < String > ,
142
+ ) {
143
+ }
139
144
140
145
/// Process a source code comment.
141
146
fn process_comment ( & self , _comment : & str ) -> Option < String > {
Original file line number Diff line number Diff line change @@ -580,7 +580,10 @@ impl BindgenOptions {
580
580
self . parse_callbacks . iter ( ) . for_each ( |cb| f ( cb. as_ref ( ) ) ) ;
581
581
}
582
582
583
- fn for_each_callback_mut ( & self , mut f : impl FnMut ( & dyn callbacks:: ParseCallbacks ) ) {
583
+ fn for_each_callback_mut (
584
+ & self ,
585
+ mut f : impl FnMut ( & dyn callbacks:: ParseCallbacks ) ,
586
+ ) {
584
587
self . parse_callbacks . iter ( ) . for_each ( |cb| f ( cb. as_ref ( ) ) ) ;
585
588
}
586
589
You can’t perform that action at this time.
0 commit comments