Skip to content

Fix the examples in the docs #296

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
May 10, 2023

Conversation

Julian-Wollersberger
Copy link
Contributor

And mark them as no_run instead of ignore, so they don't regress again.

Apparently the return type of Device::lookup() had changed and the docs weren't updated.

@Wojtek242
Copy link
Collaborator

Looks good to me. If you fix the clippy lints, I will merge.

@Julian-Wollersberger
Copy link
Contributor Author

Will do, but on Monday.

@Julian-Wollersberger
Copy link
Contributor Author

Clippy, cargo doc and cargo fmt should be happy now.

@Wojtek242
Copy link
Collaborator

Something seems to have changed in beta over the weekend as this PR's checks are failing for the same reason the overnights suddenly failed today as well. If you tested clippy locally the PR should be fine. I'll merge once I figure out what's going on.

@Julian-Wollersberger
Copy link
Contributor Author

Yes, I tested with stable clippy locally.
Just tested that rustup toolchain install beta --component clippy --component rustfmt invocation locally, and I get the same error as CI, so I guess the current beta is broken.

@Wojtek242 Wojtek242 merged commit 316c46c into rust-pcap:main May 10, 2023
@Julian-Wollersberger Julian-Wollersberger deleted the doc-tests branch May 10, 2023 06:57
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