Skip to content

Conversation

ibraheemdev
Copy link

@ibraheemdev ibraheemdev commented Jul 21, 2025

Motivation

The __is_enabled function already checks the current dispatcher, so unless I'm missing something, there's no need to check it again after. I also added #[inline] to __is_enabled because I noticed the second get_default check was being inlined but it wasn't anymore after removing it.

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