Skip to content

Commit e3c2af5

Browse files
steffahnJohnTitor
andcommitted
Apply suggestions from code review
More links, one more occurrence of “a OsString” Co-authored-by: Yuki Okushi <[email protected]>
1 parent cef564d commit e3c2af5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

std/src/path.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1467,7 +1467,7 @@ impl<T: ?Sized + AsRef<OsStr>> From<&T> for PathBuf {
14671467

14681468
#[stable(feature = "rust1", since = "1.0.0")]
14691469
impl From<OsString> for PathBuf {
1470-
/// Converts a [`OsString`] into a [`PathBuf`]
1470+
/// Converts an [`OsString`] into a [`PathBuf`]
14711471
///
14721472
/// This conversion does not allocate or copy memory.
14731473
#[inline]
@@ -1478,7 +1478,7 @@ impl From<OsString> for PathBuf {
14781478

14791479
#[stable(feature = "from_path_buf_for_os_string", since = "1.14.0")]
14801480
impl From<PathBuf> for OsString {
1481-
/// Converts a [`PathBuf`] into a [`OsString`]
1481+
/// Converts a [`PathBuf`] into an [`OsString`]
14821482
///
14831483
/// This conversion does not allocate or copy memory.
14841484
#[inline]

0 commit comments

Comments
 (0)