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

refactor(lib): resolve unused import #2889

merged 1 commit into from
Jun 7, 2022


Copy link

@Ticsmtc Ticsmtc commented Jun 6, 2022

running default build command

cargo build


warning: unused import: `http::header::HeaderName`
 --> src/
4 | use http::header::HeaderName;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^
  = note: `#[warn(unused_imports)]` on by default

Copy link
Contributor Author

Ticsmtc commented Jun 6, 2022

cargo build --release 


warning: variant is never constructed: `Internal`
  --> src/
78 |     Internal,
   |     ^^^^^^^^
   = note: `#[warn(dead_code)]` on by default

src/ Outdated Show resolved Hide resolved
Copy link

@seanmonstar seanmonstar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks :D

@seanmonstar seanmonstar merged commit f12d4d4 into hyperium:master Jun 7, 2022
bors added a commit to rust-lang/ that referenced this pull request Jul 7, 2022
Update Rust crate hyper to v0.14.20

[![Mend Renovate](](

This PR contains the following updates:

| Package | Type | Update | Change |
| [hyper]( ([source]( | dependencies | patch | `=0.14.19` -> `=0.14.20` |


### Release Notes


### [`v0.14.20`](

[Compare Source](

##### Bug Fixes

-   **http1:** fix `http1_header_read_timeout` to use same future ([#&#8203;2891]( ([c5a14e7c](

##### Features

-   **ext:** support non-canonical HTTP/1 reason phrases ([#&#8203;2792]( ([b2052a43](

##### New Contributors

-   [`@&#8203;kianmeng](` made their first contribution in [hyperium/hyper#2876
-   [`@&#8203;Ticsmtc](` made their first contribution in [hyperium/hyper#2889



### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.


 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.


This PR has been generated by [Mend Renovate]( View repository job log [here](
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants