File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ impl<'a> DataUrl<'a> {
124124/// The URL’s fragment identifier (after `#`)
125125pub struct FragmentIdentifier < ' a > ( & ' a str ) ;
126126
127- impl < ' a > FragmentIdentifier < ' a > {
127+ impl FragmentIdentifier < ' _ > {
128128 /// Like in a parsed URL
129129 pub fn to_percent_encoded ( & self ) -> String {
130130 let mut string = String :: new ( ) ;
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ pub struct ParseIntoOwned<'a> {
104104 inner : Parse < ' a > ,
105105}
106106
107- impl < ' a > Iterator for ParseIntoOwned < ' a > {
107+ impl Iterator for ParseIntoOwned < ' _ > {
108108 type Item = ( String , String ) ;
109109
110110 fn next ( & mut self ) -> Option < Self :: Item > {
@@ -195,7 +195,7 @@ impl Target for String {
195195 type Finished = Self ;
196196}
197197
198- impl < ' a > Target for & ' a mut String {
198+ impl Target for & mut String {
199199 fn as_mut_string ( & mut self ) -> & mut String {
200200 self
201201 }
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ impl<'a> Iterator for PercentEncode<'a> {
178178 }
179179}
180180
181- impl < ' a > fmt:: Display for PercentEncode < ' a > {
181+ impl fmt:: Display for PercentEncode < ' _ > {
182182 fn fmt ( & self , formatter : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
183183 for c in ( * self ) . clone ( ) {
184184 formatter. write_str ( c) ?
@@ -254,7 +254,7 @@ fn after_percent_sign(iter: &mut slice::Iter<'_, u8>) -> Option<u8> {
254254 Some ( h as u8 * 0x10 + l as u8 )
255255}
256256
257- impl < ' a > Iterator for PercentDecode < ' a > {
257+ impl Iterator for PercentDecode < ' _ > {
258258 type Item = u8 ;
259259
260260 fn next ( & mut self ) -> Option < u8 > {
You can’t perform that action at this time.
0 commit comments