Skip to content

Commit 7c64f3c

Browse files
authored
Rollup merge of #144230 - RalfJung:option-as-slice-comment-fix, r=scottmcm
Option::as_slice: fix comment The implementation got changed in rust-lang/rust#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 rust-lang/rust#109179.) Cc `@GKFX` `@petrochenkov` `@llogiq` `@scottmcm`
2 parents 6af7d24 + c7bff23 commit 7c64f3c

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)