]> git.lizzy.rs Git - rust.git/blobdiff - library/std/src/path.rs
remove pat2021
[rust.git] / library / std / src / path.rs
index 984c9b4156795fa2a12ef41d1652883b89e290c0..f4020a428791efa93d16473e0273ee18abe89ed2 100644 (file)
@@ -1467,7 +1467,7 @@ fn from(s: &T) -> PathBuf {
 
 #[stable(feature = "rust1", since = "1.0.0")]
 impl From<OsString> 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<PathBuf> for OsString {
-    /// Converts a [`PathBuf`] into a [`OsString`]
+    /// Converts a [`PathBuf`] into an [`OsString`]
     ///
     /// This conversion does not allocate or copy memory.
     #[inline]