Skip to content

Commit 8db956e

Browse files
committed
Allow everywhere!
1 parent 164e3eb commit 8db956e

File tree

6 files changed

+10
-0
lines changed

6 files changed

+10
-0
lines changed

src/client/client.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/// A marker to identify what version a pooled connection is.
22
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
3+
#[allow(dead_code)]
34
pub(super) enum Ver {
45
Auto,
56
Http2,

src/client/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//! HTTP client utilities
2+
#![allow(missing_docs)]
23

34
pub mod client;
45
pub mod connect;

src/client/pool.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(dead_code)]
2+
13
use std::collections::{HashMap, HashSet, VecDeque};
24
use std::error::Error;
35
use std::fmt;

src/common/exec.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(dead_code)]
2+
13
use hyper::rt::Executor;
24
use std::fmt;
35
use std::future::Future;

src/common/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(missing_docs)]
2+
13
macro_rules! ready {
24
($e:expr) => {
35
match $e {

src/error.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
use std::error::Error;
22
use std::fmt;
33

4+
/// Generic Result
45
pub type Result<T> = std::result::Result<T, Box<dyn Error + Send + Sync>>;
56

7+
/// Generic Error to replace hyper::Error for now
68
#[derive(Debug)]
79
pub struct GenericError;
810

0 commit comments

Comments
 (0)