mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
7750402c5e
ffi::c_str removed bound checks on as_bytes, to_bytes This removes bound checks on CString::as_bytes() and CStr::to_bytes() and adds test.