File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ pub struct JSClassBuilder<'a> {
139139 class_definition : sys:: JSClassDefinition ,
140140}
141141
142- impl < ' a > JSClassBuilder < ' a > {
142+ impl JSClassBuilder < ' _ > {
143143 /// Set a class constructor, called by [the `new` operator in JavaScript][new].
144144 ///
145145 /// The easiest way to generate a [`JSObjectCallAsConstructorCallback`] is by using the
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ impl PartialEq<String> for JSString {
8888 }
8989}
9090
91- impl < ' s > PartialEq < JSString > for & ' s str {
91+ impl PartialEq < JSString > for & str {
9292 fn eq ( & self , other : & JSString ) -> bool {
9393 let utf8 = CString :: new ( self . as_bytes ( ) ) . unwrap ( ) ;
9494 unsafe { sys:: JSStringIsEqualToUTF8CString ( other. raw , utf8. as_ptr ( ) ) }
You can’t perform that action at this time.
0 commit comments