Rename bstr module/feature to byte_str - #160912
clarfonthey wants to merge 1 commit into
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 :) |
|
Gonna just nominate this so we can discuss this change. I think it's uncontroversial, but worth talking about. @rustbot label:I-libs-nominated |
|
Discussion in the meeting was that it should be consistent, but before stabilisation we might rename it to For now, (To be clear, |
ed00cb3 to
7afbef4
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
7afbef4 to
615391b
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
So, moderately embarrassed to have not figured this out for so long. The linkchecker test explicitly has exceptions that include So, hopefully this should work. |
This comment was marked as outdated.
This comment was marked as outdated.
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 |

View all comments
This also renames the various features to use
byte_strinstead ofbstr.