Skip to content

Commit bceff0b

Browse files
removed OsStr impls
1 parent e6452a0 commit bceff0b

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

library/std/src/ffi/os_str.rs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1352,26 +1352,6 @@ impl Default for &OsStr {
13521352
}
13531353
}
13541354

1355-
#[stable(feature = "more_rc_default_impls", since = "CURRENT_RUSTC_VERSION")]
1356-
impl Default for Arc<OsStr> {
1357-
/// Creates an empty OsStr inside an Arc
1358-
#[inline]
1359-
fn default() -> Self {
1360-
let os_str: &OsStr = Default::default();
1361-
Arc::from(os_str)
1362-
}
1363-
}
1364-
1365-
#[stable(feature = "more_rc_default_impls", since = "CURRENT_RUSTC_VERSION")]
1366-
impl Default for Rc<OsStr> {
1367-
/// Creates an empty OsStr inside an Rc
1368-
#[inline]
1369-
fn default() -> Self {
1370-
let os_str: &OsStr = Default::default();
1371-
Rc::from(os_str)
1372-
}
1373-
}
1374-
13751355
#[stable(feature = "rust1", since = "1.0.0")]
13761356
impl PartialEq for OsStr {
13771357
#[inline]

0 commit comments

Comments
 (0)