]> git.lizzy.rs Git - rust.git/commitdiff
Remove references to non-existant functions in the std::path documentation
authornham <hamann.nick@gmail.com>
Mon, 28 Jul 2014 23:32:47 +0000 (19:32 -0400)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 29 Jul 2014 22:44:03 +0000 (15:44 -0700)
src/libstd/path/mod.rs

index 0c93f8e6de979cde2a8cee3e15a80982e83c48e7..1e9ec32d759435baebbc3122097421f182676728 100644 (file)
@@ -178,16 +178,13 @@ fn as_str<'a>(&'a self) -> Option<&'a str> {
     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 }
     }