-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
C-bugCategory: bug. Something is wrong. This is bad!Category: bug. Something is wrong. This is bad!
Description
Version
hyper = { version = "0.14", features = ["full"] }
Platform
Linux skrilla 5.13.0-27-generic #29-Ubuntu SMP Wed Jan 12 17:36:47 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Description
error[E0432]: unresolved import hyper::header::ContentType
--> src/main.rs:4:35
|
4 | use hyper::header::{CONTENT_TYPE, ContentType};
| ^^^^^^^^^^^ no ContentType
in header
[short summary of the bug]
I can't import ContentType
I tried this code:
use hyper::header::{CONTENT_TYPE, ContentType};
[code sample that causes the bug]
use hyper::header::{CONTENT_TYPE, ContentType};
Metadata
Metadata
Assignees
Labels
C-bugCategory: bug. Something is wrong. This is bad!Category: bug. Something is wrong. This is bad!