Rollup merge of #28745 - tshepang:typo, r=bluss

This commit is contained in:
Steve Klabnik 2015-09-30 14:51:53 -04:00
commit 7d433d6418

View File

@ -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> {