We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8f6e61 commit 50ca08cCopy full SHA for 50ca08c
library/std/src/ffi/c_str.rs
@@ -1257,7 +1257,7 @@ impl CStr {
1257
#[inline]
1258
#[must_use]
1259
#[stable(feature = "cstr_from_bytes", since = "1.10.0")]
1260
- #[rustc_const_unstable(feature = "const_cstr_unchecked", issue = "none")]
+ #[rustc_const_unstable(feature = "const_cstr_unchecked", issue = "90343")]
1261
pub const unsafe fn from_bytes_with_nul_unchecked(bytes: &[u8]) -> &CStr {
1262
// SAFETY: Casting to CStr is safe because its internal representation
1263
// is a [u8] too (safe only inside std).
0 commit comments