File tree 3 files changed +5
-5
lines changed
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> {
124
124
/// The URL’s fragment identifier (after `#`)
125
125
pub struct FragmentIdentifier < ' a > ( & ' a str ) ;
126
126
127
- impl < ' a > FragmentIdentifier < ' a > {
127
+ impl FragmentIdentifier < ' _ > {
128
128
/// Like in a parsed URL
129
129
pub fn to_percent_encoded ( & self ) -> String {
130
130
let mut string = String :: new ( ) ;
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ pub struct ParseIntoOwned<'a> {
104
104
inner : Parse < ' a > ,
105
105
}
106
106
107
- impl < ' a > Iterator for ParseIntoOwned < ' a > {
107
+ impl Iterator for ParseIntoOwned < ' _ > {
108
108
type Item = ( String , String ) ;
109
109
110
110
fn next ( & mut self ) -> Option < Self :: Item > {
@@ -195,7 +195,7 @@ impl Target for String {
195
195
type Finished = Self ;
196
196
}
197
197
198
- impl < ' a > Target for & ' a mut String {
198
+ impl Target for & mut String {
199
199
fn as_mut_string ( & mut self ) -> & mut String {
200
200
self
201
201
}
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ impl<'a> Iterator for PercentEncode<'a> {
178
178
}
179
179
}
180
180
181
- impl < ' a > fmt:: Display for PercentEncode < ' a > {
181
+ impl fmt:: Display for PercentEncode < ' _ > {
182
182
fn fmt ( & self , formatter : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
183
183
for c in ( * self ) . clone ( ) {
184
184
formatter. write_str ( c) ?
@@ -254,7 +254,7 @@ fn after_percent_sign(iter: &mut slice::Iter<'_, u8>) -> Option<u8> {
254
254
Some ( h as u8 * 0x10 + l as u8 )
255
255
}
256
256
257
- impl < ' a > Iterator for PercentDecode < ' a > {
257
+ impl Iterator for PercentDecode < ' _ > {
258
258
type Item = u8 ;
259
259
260
260
fn next ( & mut self ) -> Option < u8 > {
You can’t perform that action at this time.
0 commit comments