We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6452a0 commit bceff0bCopy full SHA for bceff0b
library/std/src/ffi/os_str.rs
@@ -1352,26 +1352,6 @@ impl Default for &OsStr {
1352
}
1353
1354
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
1366
-impl Default for Rc<OsStr> {
1367
- /// Creates an empty OsStr inside an Rc
1368
1369
1370
1371
- Rc::from(os_str)
1372
1373
1374
1375
#[stable(feature = "rust1", since = "1.0.0")]
1376
impl PartialEq for OsStr {
1377
#[inline]
0 commit comments