diff options
| author | bors <bors@rust-lang.org> | 2014-07-30 05:06:41 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-07-30 05:06:41 +0000 |
| commit | 1b0dc6a3fc22b299152e7a29d98896cca7fd6fa2 (patch) | |
| tree | cb3e627709c7fc8e956689b296dcea720665be2f /src/libstd/path/mod.rs | |
| parent | 5ebf4813a6503d5312f457b8a6ba7b6998a45f2b (diff) | |
| parent | f91a964ef18cb3242e2b7e9c04f788e21377a859 (diff) | |
| download | rust-1b0dc6a3fc22b299152e7a29d98896cca7fd6fa2.tar.gz rust-1b0dc6a3fc22b299152e7a29d98896cca7fd6fa2.zip | |
auto merge of #16092 : alexcrichton/rust/rollup, r=alexcrichton
Diffstat (limited to 'src/libstd/path/mod.rs')
| -rw-r--r-- | src/libstd/path/mod.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libstd/path/mod.rs b/src/libstd/path/mod.rs index 0c93f8e6de9..1e9ec32d759 100644 --- a/src/libstd/path/mod.rs +++ b/src/libstd/path/mod.rs @@ -178,16 +178,13 @@ pub trait GenericPath: Clone + GenericPathUnsafe { fn into_vec(self) -> Vec<u8>; /// Returns an object that implements `Show` for printing paths - /// - /// This will print the equivalent of `to_display_str()` when used with a {} format parameter. fn display<'a>(&'a self) -> Display<'a, Self> { Display{ path: self, filename: false } } /// Returns an object that implements `Show` for printing filenames /// - /// This will print the equivalent of `to_filename_display_str()` when used with a {} - /// format parameter. If there is no filename, nothing will be printed. + /// If there is no filename, nothing will be printed. fn filename_display<'a>(&'a self) -> Display<'a, Self> { Display{ path: self, filename: true } } |
