Skip to content

runtime: memory: use is_null instead of comparing with ptr::null_mut#1573

Merged
anandbonde merged 2 commits intodevfrom
ab-use-is-null-instead-of-ptr-null-mut
Jun 6, 2025
Merged

runtime: memory: use is_null instead of comparing with ptr::null_mut#1573
anandbonde merged 2 commits intodevfrom
ab-use-is-null-instead-of-ptr-null-mut

Conversation

@anandbonde
Copy link
Copy Markdown
Contributor

This shorter convention is more readable and terse.

@anandbonde anandbonde requested a review from iyzhang June 4, 2025 04:07
@anandbonde anandbonde self-assigned this Jun 4, 2025
@anandbonde anandbonde force-pushed the ab-use-is-null-instead-of-ptr-null-mut branch from 7bbf763 to c4f8c34 Compare June 4, 2025 04:32
@anandbonde anandbonde changed the title runtime: memory: use is_null instead of copmaring with ptr::null_mut runtime: memory: use is_null instead of comparing with ptr::null_mut Jun 4, 2025
@anandbonde anandbonde force-pushed the ab-use-is-null-instead-of-ptr-null-mut branch from c4f8c34 to b5a54ed Compare June 6, 2025 20:42
This shorter convention is more readable and terse.
@anandbonde anandbonde force-pushed the ab-use-is-null-instead-of-ptr-null-mut branch 2 times, most recently from a6cd147 to 6d80ff3 Compare June 6, 2025 20:56
The status of integration tests was getting overwritten here.
@anandbonde anandbonde merged commit 51a866c into dev Jun 6, 2025
14 checks passed
@anandbonde anandbonde deleted the ab-use-is-null-instead-of-ptr-null-mut branch June 6, 2025 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants