diff options
| -rw-r--r-- | src/libstd/path.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/path.rs b/src/libstd/path.rs index a09300ffe95..a703cb748e0 100644 --- a/src/libstd/path.rs +++ b/src/libstd/path.rs @@ -2671,6 +2671,7 @@ impl AsRef<Path> for String { #[stable(feature = "rust1", since = "1.0.0")] impl AsRef<Path> for PathBuf { + #[inline] fn as_ref(&self) -> &Path { self } |
