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 deliver_later typo in doc #598

Merged
merged 1 commit into from
Apr 22, 2021

Conversation

arghmeleg
Copy link
Contributor

@arghmeleg arghmeleg commented Apr 19, 2021

This looks like it's supposed to refer to the non ! version of this function.

@arghmeleg arghmeleg changed the title fix deliver_later typo fix deliver_later typo in doc Apr 19, 2021
@@ -183,7 +183,7 @@ defmodule Bamboo.Mailer do
@doc """
Deliver an email in the background.

Same as `deliver_later!/2` but does not return an ok tuple and raises on
Same as `deliver_later/2` but does not return an ok tuple and raises on
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe this is actually correct as is.

These docs are for the deliver_later!/2 function, but here they're saying that the function is the same as deliver_later/2 (the non-bang version) except deliver_later!/2 raises on errors.

Does that make sense? Do you think we could make that more clear?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@germsvel That's what I was trying to do, remove the !, so it reads Same as deliver_later/2 now.

Copy link
Collaborator

Choose a reason for hiding this comment

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

🤦 I read that backwards, huh? 😅

Thanks for catching that. Looks good!

@germsvel germsvel merged commit 5f9f5f5 into beam-community:master Apr 22, 2021
@millllllz
Copy link

STEEEEEEVE

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.

3 participants