We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a1dc82 commit d9d7e33Copy full SHA for d9d7e33
src/h1.rs
@@ -7,7 +7,9 @@ use http_types::StatusCode;
7
8
/// Async-h1 based HTTP Client.
9
#[derive(Debug)]
10
-pub struct H1Client {}
+pub struct H1Client {
11
+ _priv: (),
12
+}
13
14
impl Default for H1Client {
15
fn default() -> Self {
@@ -18,7 +20,7 @@ impl Default for H1Client {
18
20
impl H1Client {
19
21
/// Create a new instance.
22
pub fn new() -> Self {
- Self {}
23
+ Self { _priv: () }
24
}
25
26
0 commit comments