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 compile error: Make IOV live longer #163

Merged
merged 12 commits into from
Sep 13, 2023
Merged

Conversation

vars1ty
Copy link
Contributor

@vars1ty vars1ty commented Aug 30, 2023

Fixes a compile error that I ran into today after running cargo update, where it complains that io::IoSliceMut::new(&mut input_buffer)] doesn't live long enough, so I moved it into its own mutable variable, named "iov" to solve it.

@lemunozm
Copy link
Owner

Thanks! There are some clippy errors by lines automatically changed by your IDE, once you fix them, I merge them 😃

@lemunozm lemunozm self-requested a review August 31, 2023 05:31
@lemunozm
Copy link
Owner

@vars1ty could you fix the clippy issues in order to merge it?

src/adapters/udp.rs Outdated Show resolved Hide resolved
src/adapters/udp.rs Outdated Show resolved Hide resolved
src/adapters/udp.rs Outdated Show resolved Hide resolved
src/adapters/udp.rs Outdated Show resolved Hide resolved
src/adapters/udp.rs Outdated Show resolved Hide resolved
src/adapters/udp.rs Outdated Show resolved Hide resolved
src/adapters/udp.rs Outdated Show resolved Hide resolved
src/adapters/udp.rs Outdated Show resolved Hide resolved
src/adapters/udp.rs Outdated Show resolved Hide resolved
src/adapters/udp.rs Outdated Show resolved Hide resolved
src/adapters/udp.rs Outdated Show resolved Hide resolved
@lemunozm lemunozm merged commit 7cfdf6b into lemunozm:master Sep 13, 2023
1 of 7 checks passed
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