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

impl IntoMessage for Message #28

Closed
soywod opened this issue Feb 21, 2024 · 3 comments · Fixed by #30
Closed

impl IntoMessage for Message #28

soywod opened this issue Feb 21, 2024 · 3 comments · Fixed by #30

Comments

@soywod
Copy link
Contributor

soywod commented Feb 21, 2024

I need the exact conversion method as defined here:

#[cfg(feature = "builder")]
impl<'x, 'y> IntoMessage<'x> for MessageBuilder<'y> {
fn into_message(self) -> crate::Result<Message<'x>> {
but from a mail_parser::Message. Would you accept a PR based on the same logic, behind a mail-parser cargo feature?

@mdecimus
Copy link
Member

Sure!

@soywod
Copy link
Contributor Author

soywod commented Feb 23, 2024 via email

@mdecimus
Copy link
Member

mdecimus commented Mar 5, 2024

Done

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 a pull request may close this issue.

2 participants