Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update weechat-plugin header #36

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft

Conversation

panekj
Copy link

@panekj panekj commented Sep 2, 2024

weechat_ptr,
_phantom: PhantomData,
}),
_ => todo!("Outdated option_from_type_and_ptr"),
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replaced unreachable!() macro with todo!() since the first one doesn't allow any message, but I'm thinking it would be better to avoid panicking, maybe returning Result<_> would be better, need to check signature usages across lib

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