Commit d7d5be0
authored
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 <#113219>.
FCP finished at #114441 (comment).
Fixes: <#114441>1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
521 | | - | |
522 | 520 | | |
523 | 521 | | |
524 | 522 | | |
| |||
530 | 528 | | |
531 | 529 | | |
532 | 530 | | |
533 | | - | |
| 531 | + | |
534 | 532 | | |
535 | 533 | | |
536 | 534 | | |
| |||
0 commit comments