File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ impl<'a> DirEntryName<'a> {
7878 /// characters will be replaced with '�'.
7979 ///
8080 /// [`Display`]: core::fmt::Display
81- pub fn display ( & self ) -> BytesDisplay {
81+ pub fn display ( & self ) -> BytesDisplay < ' _ > {
8282 BytesDisplay ( self . 0 )
8383 }
8484}
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ impl Label {
5656 /// Null bytes are not included.
5757 ///
5858 /// [`Display`]: core::fmt::Display
59- pub fn display ( & self ) -> BytesDisplay {
59+ pub fn display ( & self ) -> BytesDisplay < ' _ > {
6060 BytesDisplay ( self . as_bytes_up_to_first_null ( ) )
6161 }
6262}
Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ impl PathBuf {
281281
282282 /// Borrow as a `Path`.
283283 #[ must_use]
284- pub fn as_path ( & self ) -> Path {
284+ pub fn as_path ( & self ) -> Path < ' _ > {
285285 Path ( & self . 0 )
286286 }
287287
@@ -296,7 +296,7 @@ impl PathBuf {
296296 /// characters will be replaced with '�'.
297297 ///
298298 /// [`Display`]: core::fmt::Display
299- pub fn display ( & self ) -> BytesDisplay {
299+ pub fn display ( & self ) -> BytesDisplay < ' _ > {
300300 BytesDisplay ( & self . 0 )
301301 }
302302
You can’t perform that action at this time.
0 commit comments