From c6b8deef7dad7b93b8939b0cd994eadfac546ed1 Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Wed, 30 Sep 2015 08:39:02 +0200 Subject: [PATCH] doc: fix typo --- src/libstd/path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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> {