Skip to content

Commit

Permalink
Update src/libstd/path.rs to shorten the explanation for .to_str vali…
Browse files Browse the repository at this point in the history
…dation step

Co-Authored-By: Mazdak Farrokhzad <[email protected]>
  • Loading branch information
JasonShin and Centril authored Aug 1, 2019
1 parent 3b15b16 commit 1aa4a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1819,7 +1819,7 @@ impl Path {
/// Yields a [`&str`] slice if the `Path` is valid unicode.
///
/// This conversion may entail doing a check for UTF-8 validity.
/// Also it it worthwhile noting that validation is performed because Non-UTF-8 strings are
/// Note that validation is performed because non-UTF-8 strings are
/// perfectly valid for some OS.
///
/// [`&str`]: ../primitive.str.html
Expand Down

0 comments on commit 1aa4a57

Please sign in to comment.