inline impl AsRef<OsStr> for OsString
This commit is contained in:
parent
bf1d20c4b6
commit
cd5ab97480
1 changed files with 1 additions and 0 deletions
|
@ -966,6 +966,7 @@ impl AsRef<OsStr> for OsStr {
|
|||
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
impl AsRef<OsStr> for OsString {
|
||||
#[inline]
|
||||
fn as_ref(&self) -> &OsStr {
|
||||
self
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue