diff options
author | bors <bors@rust-lang.org> | 2023-01-19 08:04:26 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2023-01-19 08:04:26 +0000 |
commit | 705a96d39bbd97ac0cc8ae119b0f3c097ab62fc0 (patch) | |
tree | e150d8f5821c55d5d84905ee20560b9aba175264 /tests/rustdoc-js-std/parser-errors.js | |
parent | 65d2f2a5f9c323c88d1068e8e90d0b47a20d491c (diff) | |
parent | 50e9f2e6e87911659b6ae63230a5797f4cdf28e1 (diff) | |
download | rust-705a96d39bbd97ac0cc8ae119b0f3c097ab62fc0.tar.gz |
Auto merge of #106989 - clubby789:is-zero-num, r=scottmcm
Implement `alloc::vec::IsZero` for `Option<$NUM>` types
Fixes #106911
Mirrors the `NonZero$NUM` implementations with an additional `assert_zero_valid`.
`None::<i32>` doesn't stricly satisfy `IsZero` but for the purpose of allocating we can produce more efficient codegen.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions