]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/path.rs
Auto merge of #68522 - estebank:impl-trait-sugg-2, r=oli-obk
[rust.git] / src / libstd / path.rs
index a09300ffe956f21d5941e1bf6708e1639754349d..a703cb748e06b4e111d7f649e9444809c7dec470 100644 (file)
@@ -2671,6 +2671,7 @@ fn as_ref(&self) -> &Path {
 
 #[stable(feature = "rust1", since = "1.0.0")]
 impl AsRef<Path> for PathBuf {
+    #[inline]
     fn as_ref(&self) -> &Path {
         self
     }