]> git.lizzy.rs Git - rust.git/commit
make `CStr::from_bytes_with_nul_unchecked()` a const fn
authorAustin Bonander <austin.bonander@gmail.com>
Tue, 2 Oct 2018 11:26:16 +0000 (04:26 -0700)
committerAustin Bonander <austin.bonander@gmail.com>
Tue, 2 Oct 2018 11:26:16 +0000 (04:26 -0700)
commite0caaec6f92b7d9bf02278c6ed991cdb7139cd06
tree47fca63b8a5776633f66de5b226c69419f957468
parent092bf2b50067a92e03da024b0406dca1c0e05d12
make `CStr::from_bytes_with_nul_unchecked()` a const fn

closes #54678
src/libstd/lib.rs