about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-09-30 14:51:53 -0400
committerSteve Klabnik <steve@steveklabnik.com>2015-09-30 14:51:53 -0400
commit7d433d641852f76d0d781617d3057f7d3fc90563 (patch)
treea109bc04aa6299ad28dae4dc958e45277b0c08ab /src/libstd
parent45510041f7933514a44553bab2897c168be0be65 (diff)
parentc6b8deef7dad7b93b8939b0cd994eadfac546ed1 (diff)
downloadrust-7d433d641852f76d0d781617d3057f7d3fc90563.tar.gz
rust-7d433d641852f76d0d781617d3057f7d3fc90563.zip
Rollup merge of #28745 - tshepang:typo, r=bluss
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/path.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/path.rs b/src/libstd/path.rs
index 8eb5d1f2726..ed70c2bd7b4 100644
--- a/src/libstd/path.rs
+++ b/src/libstd/path.rs
@@ -1292,7 +1292,7 @@ impl Path {
     /// use std::path::Path;
     ///
     /// let path_str = Path::new("foo.txt").to_str();
-    //// assert_eq!(path_str, Some("foo.txt"));
+    /// assert_eq!(path_str, Some("foo.txt"));
     /// ```
     #[stable(feature = "rust1", since = "1.0.0")]
     pub fn to_str(&self) -> Option<&str> {