Skip to content

Commit e0caaec

Browse files
committed
make CStr::from_bytes_with_nul_unchecked() a const fn
closes #54678
1 parent 092bf2b commit e0caaec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@
254254
#![feature(const_int_ops)]
255255
#![feature(const_ip)]
256256
#![feature(const_raw_ptr_deref)]
257+
#![feature(const_cstr_unchecked)]
257258
#![feature(core_intrinsics)]
258259
#![feature(dropck_eyepatch)]
259260
#![feature(exact_size_is_empty)]

0 commit comments

Comments
 (0)