Skip to content

Commit 7b6f739

Browse files
committed
---
yaml --- r: 209766 b: refs/heads/try c: e091ba3 h: refs/heads/master v: v3
1 parent 0a0c0df commit 7b6f739

File tree

2 files changed

+1
-33
lines changed

2 files changed

+1
-33
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5-
refs/heads/try: 69ded69d630e9f908aa0cf65dba124a9eb9d6eb7
5+
refs/heads/try: e091ba3f3e8b2b00827ab4934314829b33ffb966
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/libstd/path.rs

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,14 +1184,6 @@ impl AsRef<OsStr> for PathBuf {
11841184
}
11851185
}
11861186

1187-
#[stable(feature = "rust1", since = "1.0.0")]
1188-
#[deprecated(since = "1.0.0", reason = "trait is deprecated")]
1189-
impl AsOsStr for PathBuf {
1190-
fn as_os_str(&self) -> &OsStr {
1191-
&self.inner[..]
1192-
}
1193-
}
1194-
11951187
#[stable(feature = "rust1", since = "1.0.0")]
11961188
impl Into<OsString> for PathBuf {
11971189
fn into(self) -> OsString {
@@ -1652,14 +1644,6 @@ impl AsRef<OsStr> for Path {
16521644
}
16531645
}
16541646

1655-
#[stable(feature = "rust1", since = "1.0.0")]
1656-
#[deprecated(since = "1.0.0", reason = "trait is deprecated")]
1657-
impl AsOsStr for Path {
1658-
fn as_os_str(&self) -> &OsStr {
1659-
&self.inner
1660-
}
1661-
}
1662-
16631647
#[stable(feature = "rust1", since = "1.0.0")]
16641648
impl fmt::Debug for Path {
16651649
fn fmt(&self, formatter: &mut fmt::Formatter) -> Result<(), fmt::Error> {
@@ -1711,22 +1695,6 @@ impl cmp::Ord for Path {
17111695
}
17121696
}
17131697

1714-
/// Freely convertible to a `Path`.
1715-
#[unstable(feature = "std_misc")]
1716-
#[deprecated(since = "1.0.0", reason = "use std::convert::AsRef<Path> instead")]
1717-
pub trait AsPath {
1718-
/// Converts to a `Path`.
1719-
#[unstable(feature = "std_misc")]
1720-
fn as_path(&self) -> &Path;
1721-
}
1722-
1723-
#[unstable(feature = "std_misc")]
1724-
#[deprecated(since = "1.0.0", reason = "use std::convert::AsRef<Path> instead")]
1725-
#[allow(deprecated)]
1726-
impl<T: AsOsStr + ?Sized> AsPath for T {
1727-
fn as_path(&self) -> &Path { Path::new(self.as_os_str()) }
1728-
}
1729-
17301698
#[stable(feature = "rust1", since = "1.0.0")]
17311699
impl AsRef<Path> for Path {
17321700
fn as_ref(&self) -> &Path { self }

0 commit comments

Comments
 (0)