rust/library/core
León Orell Valerian Liehr d7d5be0c40
Rollup merge of #123661 - tgross35:stabilize-cstr_count_bytes, r=dtolnay
Stabilize `cstr_count_bytes`

Newly stable API:

```rust
impl CStr {
    pub fn count_bytes(&self) -> usize;
}
```

Const stabilization has not yet been decided, so that will continue to be gated under <https://github.com/rust-lang/rust/issues/113219>.

FCP finished at https://github.com/rust-lang/rust/issues/114441#issuecomment-2016942573.

Fixes: <https://github.com/rust-lang/rust/issues/114441>
2024-04-11 01:56:25 +02:00
..
benches disable benches in Miri 2024-04-07 09:58:10 +02:00
src Rollup merge of #123661 - tgross35:stabilize-cstr_count_bytes, r=dtolnay 2024-04-11 01:56:25 +02:00
tests Rollup merge of #122291 - lilasta:stabilize_const_location_fields, r=dtolnay 2024-04-06 13:00:05 +02:00
Cargo.toml Import the 2021 prelude in the core crate 2024-03-25 13:12:06 -07:00