Skip to content

Commit

Permalink
make CStr::from_bytes_with_nul_unchecked() a const fn
Browse files Browse the repository at this point in the history
  • Loading branch information
abonander authored and ischeinkman committed Dec 19, 2018
1 parent 6077dff commit 28c71ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libstd/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@
#![feature(const_int_ops)]
#![feature(const_ip)]
#![feature(const_raw_ptr_deref)]
#![feature(const_cstr_unchecked)]
#![feature(core_intrinsics)]
#![feature(dropck_eyepatch)]
#![feature(duration_as_u128)]
Expand Down

0 comments on commit 28c71ea

Please sign in to comment.