Skip to content

Conversation

itsjunetime
Copy link
Collaborator

Just what the title says, more support for annotation functions


impl std::error::Error for OutOfRange {}

impl TryFrom<pdf_intent> for Intent {
Copy link
Collaborator

@ginnyTheCat ginnyTheCat Sep 7, 2025

Choose a reason for hiding this comment

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

Could this file be simplified by using the from_enum! macro like here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Basically, yes, but it does things slightly differently from the from_enum macro. However, I've now filed #172 to fix some issues that I was seeing with that macro, and once those changes are merged in, I can switch this usage over.

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