about summary refs log tree commit diff
path: root/src/libstd/path
diff options
context:
space:
mode:
authornham <hamann.nick@gmail.com>2014-07-28 19:32:47 -0400
committerAlex Crichton <alex@alexcrichton.com>2014-07-29 15:44:03 -0700
commit16bc72040a48613f8fd41a55ce1188339d2ab42e (patch)
treebfccdab23cb2e46143289681545ba50e8bf75624 /src/libstd/path
parentf399d308028fb491427a34b2ac70db797536280b (diff)
downloadrust-16bc72040a48613f8fd41a55ce1188339d2ab42e.tar.gz
rust-16bc72040a48613f8fd41a55ce1188339d2ab42e.zip
Remove references to non-existant functions in the std::path documentation
Diffstat (limited to 'src/libstd/path')
-rw-r--r--src/libstd/path/mod.rs5
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 }
     }