8000 docs: replace `assert!` with `?` operator for `send` examples by paolobarbolini · Pull Request #1033 · lettre/lettre · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

docs: replace assert! with ? operator for send examples #1033

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

Merged
merged 1 commit into from
Feb 2, 2025

Conversation

paolobarbolini
Copy link
Member

assert! didn't make sense because this use in example usually explain that the return value is guaranteed to be equal to the expected value.

@paolobarbolini paolobarbolini changed the title docs: replace assert with Try operator for send examples docs: replace assert! with ? operator for send examples Feb 2, 2025
@paolobarbolini paolobarbolini mentioned this pull request Feb 2, 2025
@paolobarbolini paolobarbolini merged commit 3f7a57a into master Feb 2, 2025
6 checks passed
@paolobarbolini paolobarbolini deleted the assert-to-try branch February 2, 2025 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0