Skip to content

fix(plugins): allow dead_code for unused hook fields#559

Merged
echobt merged 1 commit intomasterfrom
fix/dead-code-hooks-1770012282
Feb 2, 2026
Merged

fix(plugins): allow dead_code for unused hook fields#559
echobt merged 1 commit intomasterfrom
fix/dead-code-hooks-1770012282

Conversation

@echobt
Copy link
Contributor

@echobt echobt commented Feb 2, 2026

Summary

Allows dead_code warnings for unused hook fields in the plugin registry.

Why

The hook registry stores hook objects that are not yet actively read from the structs (the plugin system is work in progress). Adding #[allow(dead_code)] silences Clippy warnings while keeping the API intact for future implementation.

The hook registry stores hooks but the hook fields are not yet
read as the plugin system is work in progress. Adding allow(dead_code)
to silence clippy warnings while keeping the API intact.
@echobt echobt merged commit 8962b4e into master Feb 2, 2026
3 of 4 checks passed
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

Comments