File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 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 {
135135 ///
136136 /// If no additional attributes are wanted, this function should return an
137137 /// 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+ }
139144
140145 /// Process a source code comment.
141146 fn process_comment ( & self , _comment : & str ) -> Option < String > {
Original file line number Diff line number Diff line change @@ -580,7 +580,10 @@ impl BindgenOptions {
580580 self . parse_callbacks . iter ( ) . for_each ( |cb| f ( cb. as_ref ( ) ) ) ;
581581 }
582582
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+ ) {
584587 self . parse_callbacks . iter ( ) . for_each ( |cb| f ( cb. as_ref ( ) ) ) ;
585588 }
586589
You can’t perform that action at this time.
0 commit comments