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
closes #54678
  • Loading branch information
abonander committed Oct 2, 2018
1 parent 092bf2b commit e0caaec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libstd/lib.rs
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(exact_size_is_empty)]
Expand Down

0 comments on commit e0caaec

Please sign in to comment.