We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12dd4a1 commit 6be84b1Copy full SHA for 6be84b1
library/alloc/src/ffi/c_str.rs
@@ -821,6 +821,7 @@ impl From<Vec<NonZero<u8>>> for CString {
821
}
822
823
824
+#[stable(feature = "c_string_from_str", since = "1.85.0")]
825
impl FromStr for CString {
826
type Err = NulError;
827
@@ -833,6 +834,7 @@ impl FromStr for CString {
833
834
835
836
837
838
impl TryFrom<CString> for String {
839
type Error = IntoStringError;
840
0 commit comments