]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/ffi/c_str.rs
Rollup merge of #99316 - tshepang:clearer, r=compiler-errors
[rust.git] / library / core / src / ffi / c_str.rs
index 10bf95abd39594ae3a1d1652f35e90a105ae547a..ee9baf811e29c099c70d18323978f655a98e65a6 100644 (file)
@@ -76,7 +76,7 @@
 /// [str]: prim@str "str"
 #[derive(Hash)]
 #[cfg_attr(not(test), rustc_diagnostic_item = "CStr")]
-#[unstable(feature = "core_c_str", issue = "94079")]
+#[stable(feature = "core_c_str", since = "1.64.0")]
 #[rustc_has_incoherent_inherent_impls]
 // FIXME:
 // `fn from` in `impl From<&CStr> for Box<CStr>` current implementation relies
@@ -108,7 +108,7 @@ pub struct CStr {
 /// let _: FromBytesWithNulError = CStr::from_bytes_with_nul(b"f\0oo").unwrap_err();
 /// ```
 #[derive(Clone, PartialEq, Eq, Debug)]
-#[unstable(feature = "core_c_str", issue = "94079")]
+#[stable(feature = "core_c_str", since = "1.64.0")]
 pub struct FromBytesWithNulError {
     kind: FromBytesWithNulErrorKind,
 }