about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-09-30 22:31:23 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-09-30 22:31:23 +0530
commit283614fee5ace676f84028fb45f04704491eb7e3 (patch)
tree1cc1dcadde7f79801432abcebdd821b8d816d6bf /src/libstd
parent66cf4616e1f3106a95c1b024f15b40c943ae8d67 (diff)
parentc6b8deef7dad7b93b8939b0cd994eadfac546ed1 (diff)
downloadrust-283614fee5ace676f84028fb45f04704491eb7e3.tar.gz
rust-283614fee5ace676f84028fb45f04704491eb7e3.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> {