@@ -612,7 +612,7 @@ impl<'a, 'c: 'a> TypeResolver<'a, 'c> {
612
612
}
613
613
/// Gets the C-mapped type for types which are outside of the crate, or which are manually
614
614
/// ignored by for some reason need mapping anyway.
615
- fn c_type_from_path < ' b > ( & self , full_path : & ' b str , is_ref : bool , ptr_for_ref : bool ) -> Option < & ' b str > {
615
+ fn c_type_from_path < ' b > ( & self , full_path : & ' b str , is_ref : bool , _ptr_for_ref : bool ) -> Option < & ' b str > {
616
616
if self . is_primitive ( full_path) {
617
617
return Some ( full_path) ;
618
618
}
@@ -804,7 +804,7 @@ impl<'a, 'c: 'a> TypeResolver<'a, 'c> {
804
804
_ => None ,
805
805
} . map ( |s| s. to_owned ( ) )
806
806
}
807
- fn to_c_conversion_inline_prefix_from_path ( & self , full_path : & str , is_ref : bool , ptr_for_ref : bool ) -> Option < String > {
807
+ fn to_c_conversion_inline_prefix_from_path ( & self , full_path : & str , is_ref : bool , _ptr_for_ref : bool ) -> Option < String > {
808
808
if self . is_primitive ( full_path) {
809
809
return Some ( "" . to_owned ( ) ) ;
810
810
}
@@ -860,7 +860,7 @@ impl<'a, 'c: 'a> TypeResolver<'a, 'c> {
860
860
_ => None ,
861
861
} . map ( |s| s. to_owned ( ) )
862
862
}
863
- fn to_c_conversion_inline_suffix_from_path ( & self , full_path : & str , is_ref : bool , ptr_for_ref : bool ) -> Option < String > {
863
+ fn to_c_conversion_inline_suffix_from_path ( & self , full_path : & str , is_ref : bool , _ptr_for_ref : bool ) -> Option < String > {
864
864
if self . is_primitive ( full_path) {
865
865
return Some ( "" . to_owned ( ) ) ;
866
866
}
0 commit comments