File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -443,8 +443,8 @@ pub struct NgxListIterator<'a> {
443
443
/// # Safety
444
444
///
445
445
/// The caller has provided a valid [`ngx_str_t`] which can be dereferenced validly.
446
- pub unsafe fn list_iterator < ' a > ( list : & ' a ngx_list_t ) -> NgxListIterator < ' a > {
447
- let part: * const ngx_list_part_t = & ( * list) . part ;
446
+ pub unsafe fn list_iterator ( list : & ngx_list_t ) -> NgxListIterator {
447
+ let part: * const ngx_list_part_t = & list. part ;
448
448
449
449
NgxListIterator {
450
450
done : false ,
@@ -616,7 +616,7 @@ impl<'a> PartialEq<&'a Method> for Method {
616
616
}
617
617
}
618
618
619
- impl < ' a > PartialEq < Method > for & ' a Method {
619
+ impl PartialEq < Method > for & Method {
620
620
#[ inline]
621
621
fn eq ( & self , other : & Method ) -> bool {
622
622
* self == other
@@ -644,7 +644,7 @@ impl<'a> PartialEq<&'a str> for Method {
644
644
}
645
645
}
646
646
647
- impl < ' a > PartialEq < Method > for & ' a str {
647
+ impl PartialEq < Method > for & str {
648
648
#[ inline]
649
649
fn eq ( & self , other : & Method ) -> bool {
650
650
* self == other. as_ref ( )
You can’t perform that action at this time.
0 commit comments