Skip to content

Commit

Permalink
Auto merge of #106967 - saethlin:remove-vec-as-ptr-assume, r=thomcc
Browse files Browse the repository at this point in the history
Remove the assume(!is_null) from Vec::as_ptr

At a guess, this code is leftover from LLVM was worse at keeping track of the niche information here. In any case, we don't need this anymore: Removing this `assume` doesn't get rid of the `nonnull` attribute on the return type.
  • Loading branch information
bors committed Mar 21, 2023
2 parents 0671314 + 1397df1 commit cefdb1d
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit cefdb1d

Please sign in to comment.