X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=library%2Fstd%2Fsrc%2Fpath.rs;h=f4020a428791efa93d16473e0273ee18abe89ed2;hb=2a9db919ffb30ca09a015877b6ab2ffab5633249;hp=984c9b4156795fa2a12ef41d1652883b89e290c0;hpb=f5e7dbb20a4090f089f09a116ab7a75ad4296398;p=rust.git diff --git a/library/std/src/path.rs b/library/std/src/path.rs index 984c9b41567..f4020a42879 100644 --- a/library/std/src/path.rs +++ b/library/std/src/path.rs @@ -1467,7 +1467,7 @@ fn from(s: &T) -> PathBuf { #[stable(feature = "rust1", since = "1.0.0")] impl From for PathBuf { - /// Converts a [`OsString`] into a [`PathBuf`] + /// Converts an [`OsString`] into a [`PathBuf`] /// /// This conversion does not allocate or copy memory. #[inline] @@ -1478,7 +1478,7 @@ fn from(s: OsString) -> PathBuf { #[stable(feature = "from_path_buf_for_os_string", since = "1.14.0")] impl From for OsString { - /// Converts a [`PathBuf`] into a [`OsString`] + /// Converts a [`PathBuf`] into an [`OsString`] /// /// This conversion does not allocate or copy memory. #[inline]