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 iter tests to use the actual bytes IntoIter instead of std #707

Merged
merged 1 commit into from
May 19, 2024

Conversation

paolobarbolini
Copy link
Contributor

@paolobarbolini paolobarbolini commented May 19, 2024

While looking at the code I've realized the iterator tests were using core::slice::Iter instead of bytes::buf::IntoIter. This mistake seems to be an artifact of bytes 0.4 1. This fixes it.

Footnotes

  1. https://docs.rs/bytes/0.4.12/bytes/buf/trait.Buf.html#method.iter

@seanmonstar seanmonstar merged commit caf520a into tokio-rs:master May 19, 2024
15 checks passed
@mox692 mox692 mentioned this pull request Jul 30, 2024
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