File tree 1 file changed +1
-4
lines changed
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -178,16 +178,13 @@ pub trait GenericPath: Clone + GenericPathUnsafe {
178
178
fn into_vec ( self ) -> Vec < u8 > ;
179
179
180
180
/// Returns an object that implements `Show` for printing paths
181
- ///
182
- /// This will print the equivalent of `to_display_str()` when used with a {} format parameter.
183
181
fn display < ' a > ( & ' a self ) -> Display < ' a , Self > {
184
182
Display { path : self , filename : false }
185
183
}
186
184
187
185
/// Returns an object that implements `Show` for printing filenames
188
186
///
189
- /// This will print the equivalent of `to_filename_display_str()` when used with a {}
190
- /// format parameter. If there is no filename, nothing will be printed.
187
+ /// If there is no filename, nothing will be printed.
191
188
fn filename_display < ' a > ( & ' a self ) -> Display < ' a , Self > {
192
189
Display { path : self , filename : true }
193
190
}
You can’t perform that action at this time.
0 commit comments