We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9295e32 + 323345b commit f45a32eCopy full SHA for f45a32e
clap_builder/src/builder/os_str.rs
@@ -64,16 +64,6 @@ impl From<Str> for OsStr {
64
}
65
66
67
-#[cfg(feature = "perf")]
68
-impl From<&'_ Str> for OsStr {
69
- fn from(id: &'_ Str) -> Self {
70
- match id.clone().into_inner() {
71
- crate::builder::StrInner::Static(s) => Self::from_static_ref(std::ffi::OsStr::new(s)),
72
- crate::builder::StrInner::Owned(s) => Self::from_ref(std::ffi::OsStr::new(s.as_ref())),
73
- }
74
75
-}
76
-
77
impl From<&'_ Str> for OsStr {
78
fn from(id: &'_ Str) -> Self {
79
id.clone().into()
0 commit comments