diff options
| author | Lukas Bergdoll <lukas.bergdoll@gmail.com> | 2023-01-21 10:17:06 +0100 |
|---|---|---|
| committer | Lukas Bergdoll <lukas.bergdoll@gmail.com> | 2023-01-21 10:17:06 +0100 |
| commit | 703ff60d9f885dfe317e3d271d9f341509efac92 (patch) | |
| tree | 257debf1c165db61f9e529e31cddea06f6da444f /compiler/rustc_hir_analysis/src/structured_errors.rs | |
| parent | e098eb17e1514bcd604ac4bd57cec362944687af (diff) | |
| download | rust-703ff60d9f885dfe317e3d271d9f341509efac92.tar.gz rust-703ff60d9f885dfe317e3d271d9f341509efac92.zip | |
Use NonNull in merge_sort
This is more clear about the intent of the pointer and avoids problems if the allocation returns a null pointer.
Diffstat (limited to 'compiler/rustc_hir_analysis/src/structured_errors.rs')
0 files changed, 0 insertions, 0 deletions
