Skip to content

Commit c6b8dee

Browse files
committed
doc: fix typo
1 parent 9d009c0 commit c6b8dee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/path.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1292,7 +1292,7 @@ impl Path {
12921292
/// use std::path::Path;
12931293
///
12941294
/// let path_str = Path::new("foo.txt").to_str();
1295-
//// assert_eq!(path_str, Some("foo.txt"));
1295+
/// assert_eq!(path_str, Some("foo.txt"));
12961296
/// ```
12971297
#[stable(feature = "rust1", since = "1.0.0")]
12981298
pub fn to_str(&self) -> Option<&str> {

0 commit comments

Comments
 (0)