diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-07-20 23:11:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-20 23:11:23 -0400 |
| commit | 95d9c8dfcb7f330bac83136956894b471cefc702 (patch) | |
| tree | aafaa57ca2caadbae6c9fcd54daefcb20f205a83 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | b9701de4b1f49bf7348e800135978c1be54ae22b (diff) | |
| parent | d2be1c8d009997584112954b7ee806e07a322eda (diff) | |
| download | rust-95d9c8dfcb7f330bac83136956894b471cefc702.tar.gz rust-95d9c8dfcb7f330bac83136956894b471cefc702.zip | |
Rollup merge of #144230 - RalfJung:option-as-slice-comment-fix, r=scottmcm
Option::as_slice: fix comment The implementation got changed in https://github.com/rust-lang/rust/pull/117525 without updating the comment. Now the comment makes no sense any more since there is no intrinsic that returns a pointer in this function any more. (It is also very strange to say "in the new version" in a comment -- what is that supposed to tell someone reading the code 2 years later? That wording was introduced even earlier, in https://github.com/rust-lang/rust/pull/109179.) Cc `@GKFX` `@petrochenkov` `@llogiq` `@scottmcm`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
