BorrowedBuf: Update outdated safety comments in set_init users.#155314
BorrowedBuf: Update outdated safety comments in set_init users.#155314rust-bors[bot] merged 1 commit intorust-lang:mainfrom
BorrowedBuf: Update outdated safety comments in set_init users.#155314Conversation
|
rustbot has assigned @Mark-Simulacrum. Use Why was this reviewer chosen?The reviewer was selected based on:
|
This comment has been minimized.
This comment has been minimized.
These comments appear to have been written before `BorrowedBuf`'s init tracking was simplified in rust-lang#150129. The `BufWriter` comment of the usage within `BufWriter` will be handled separately.
|
This looks good to me, and seems like an improvement. r=me when CI passed. (It's just comments, so I don't expect CI to have anything to say, but I have the habit these days of not just r+ing something even if I think it couldn't possibly fail CI.) |
|
@bors d+ |
|
Unknown command "d+". Run |
|
@bors delegate+ |
|
✌️ @briansmith, you can now approve this pull request! If @joshtriplett told you to " |
|
@bors r=joshtriplett |
Rollup of 13 pull requests Successful merges: - #154882 (Gate tuple const params behind `min_adt_const_params` feature) - #155259 (explicit-tail-calls: disable two tests on LoongArch) - #155293 (fix arch names in cfg pretty printer) - #155314 (`BorrowedBuf`: Update outdated safety comments in `set_init` users.) - #153469 (docs: clarify path search behavior in std::process::Command::new) - #154765 (Clarify ascii whitespace exclusion of vertical tab in the doc) - #155172 (Some small nits for supertrait_item_shadowing, and additional testing) - #155279 (Test/lexer unicode pattern white space) - #155280 (Tests for precise-capture through RPIT and TAIT) - #155301 (Delete unused `rustc_trait_selection` errors.) - #155303 (remove ibraheemdev from review rotation) - #155304 (remove PointeeParser) - #155319 (Remove dead diagnostic structs.)
Rollup merge of #155314 - briansmith:b/comments, r=joshtriplett `BorrowedBuf`: Update outdated safety comments in `set_init` users. These comments appear to have been written before `BorrowedBuf`'s init tracking was simplified in #150129. The `BufWriter` comment of the usage within `BufWriter` will be handled separately. CC #78485, #117693.
These comments appear to have been written before
BorrowedBuf's init tracking was simplified in#150129. The
BufWritercomment of the usage withinBufWriterwill be handled separately.CC #78485, #117693.