Repository navigation
Rename bstr module/feature to byte_str - #160912
Conversation
|
rustbot has assigned @Mark-Simulacrum. Use Why was this reviewer chosen?The reviewer was selected based on:
|
4ad0fe2 to
149db1b
Compare
This comment has been minimized.
This comment has been minimized.
78405db to
5adccc5
Compare
bstr module to byte_strbstr module/feature to byte_str
This comment has been minimized.
This comment has been minimized.
|
Can we also have a doc alias or something, so when someone searches for |
|
Thank you for reminding me; I'll add those to the types and the module. EDIT: The types already have it, so, just the module, then. |
1d7938e to
3c4fe83
Compare
This comment has been minimized.
This comment has been minimized.
3c4fe83 to
ed00cb3
Compare
|
Note: the rustdoc links are annoying, but I'll finagle a fix for them. |
This comment has been minimized.
This comment has been minimized.
|
I assume there's a "why" somewhere for this, can you expand the PR description to include it? The actual code changes seem fine (I guess modulo CI failure :) |
This comment was marked as outdated.
This comment was marked as outdated.
This comment has been minimized.
This comment has been minimized.
|
Ugh, fine, I guess this isn't done. @rustbot author :| |
|
Reminder, once the PR becomes ready for a review, use |
615391b to
d124e88
Compare
|
@rustbot ready |
|
I think #160912 (comment) is still unresolved -- this should have some motivation in the PR description :) |
|
Was this not sufficient? (Don't remember if you were there for the discussion) Edit: you weren't, but here's the discussion: https://github.com/rust-lang/libs-team/blob/main/minutes/2026-08-25.md#nominated-rusttf160912-rename-bstr-modulefeature-to-byte_str |
|
ping @Mark-Simulacrum to take another look when you have time |
|
I updated the PR description so a future reader hopefully needs to hunt through less history to figure that out. @bors r+ |
|
⌛ Testing commit d124e88 with merge 5e6e3df... Workflow: https://github.com/rust-lang/rust/actions/runs/39159724762 |
Rename `bstr` module/feature to `byte_str` This also renames the various features to use `byte_str` instead of `bstr`. This was [discussed](https://github.com/rust-lang/libs-team/blob/main/minutes/2026-08-25.md#nominated-rusttf160912-rename-bstr-modulefeature-to-byte_str) by libs and agreed on as being more consistent with the types contained in the module. However, we remain open to renaming back before stabilization if warranted. For now, `byte_str::ByteStr` makes the most sense. (To be clear, `bstr::ByteStr` and `byte_str::BStr` are both undesired.)
|
@bors yield |
|
Auto build was cancelled. Cancelled workflows: The next pull request likely to be tested is #164535. |
Rollup merge of #160912 - clarfonthey:byte-str-module, r=Mark-Simulacrum Rename `bstr` module/feature to `byte_str` This also renames the various features to use `byte_str` instead of `bstr`. This was [discussed](https://github.com/rust-lang/libs-team/blob/main/minutes/2026-08-25.md#nominated-rusttf160912-rename-bstr-modulefeature-to-byte_str) by libs and agreed on as being more consistent with the types contained in the module. However, we remain open to renaming back before stabilization if warranted. For now, `byte_str::ByteStr` makes the most sense. (To be clear, `bstr::ByteStr` and `byte_str::BStr` are both undesired.)
…uwer Rollup of 4 pull requests Successful merges: - rust-lang/rust#160912 (Rename `bstr` module/feature to `byte_str`) - rust-lang/rust#164463 (perf: inline `Clause::map_bound`) - rust-lang/rust#163746 (consteval: Rework caller location handling) - rust-lang/rust#163611 (add core::process::resumable_breakpoint)

View all comments
This also renames the various features to use
byte_strinstead ofbstr.This was discussed by libs and agreed on as being more consistent with the types contained in the module. However, we remain open to renaming back before stabilization if warranted.
For now,
byte_str::ByteStrmakes the most sense.(To be clear,
bstr::ByteStrandbyte_str::BStrare both undesired.)