Closed
Description
Feature gate: #![feature(cstr_count_bytes)]
This is a tracking issue for adding a .count_bytes()
method to CStr
.
Public API
impl CStr {
pub fn count_bytes(&self) -> usize;
}
Steps / History
- ACP: Add a
CStr::count_bytes()
method libs-team#256 - Implementation: Implement
cstr_count_bytes
#114443 - Final comment period (FCP)1 Tracking Issue for
cstr_count_bytes
#114441 (comment) - Stabilization PR Stabilize
cstr_count_bytes
#123661
Unresolved Questions
- None yet.