Commit 119b939
authored
Rollup merge of rust-lang#132929 - cuviper:check-alloc_zeroed, r=tgross35
Check for null in the `alloc_zeroed` example
We should demonstrate good behavior, just like rust-lang#99198 did for `alloc`.1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
163 | 166 | | |
164 | 167 | | |
165 | 168 | | |
| |||
0 commit comments