Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(quinn): feature flag socket2 imports
The `socket2` imports are only used by the feature flagged `client` function. Move the imports into the function to be feature flagged as well. Avoids the following warning: ``` --> quinn/src/endpoint.rs:28:15 | 28 | use socket2::{Domain, Protocol, Socket, Type}; | ^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^ | = note: `#[warn(unused_imports)]` on by default ```
- Loading branch information