Skip to content

refactor: removed is_zst helper - #533

Open
alejandro-vaz wants to merge 1 commit into
servo:v2from
alejandro-vaz:dezst
Open

refactor: removed is_zst helper#533
alejandro-vaz wants to merge 1 commit into
servo:v2from
alejandro-vaz:dezst

Conversation

@alejandro-vaz

Copy link
Copy Markdown
Collaborator

this PR removes the unnecessary is_zst<T>() helper that checked if a type is a ZST

there was just one use of this function so it was inlined

the helper was redundant since it's body was just size_of::<T>() == 0

@alejandro-vaz
alejandro-vaz requested a review from jdm August 31, 2026 17:13
@alejandro-vaz alejandro-vaz self-assigned this Aug 31, 2026
@alejandro-vaz alejandro-vaz changed the title refactor: removed is_zst helper refactor: removed is_zst helper Aug 31, 2026
@alejandro-vaz
alejandro-vaz requested review from jdm and removed request for jdm August 31, 2026 20:07
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.

1 participant