Loosen bounds on Handshake struct (#343)
This commit is contained in:
committed by
Carl Lerche
parent
74f040f5bf
commit
8a0b7ff64f
@@ -187,7 +187,7 @@ use std::usize;
|
|||||||
///
|
///
|
||||||
/// [module]: index.html
|
/// [module]: index.html
|
||||||
#[must_use = "futures do nothing unless polled"]
|
#[must_use = "futures do nothing unless polled"]
|
||||||
pub struct Handshake<T, B: IntoBuf = Bytes> {
|
pub struct Handshake<T, B = Bytes> {
|
||||||
builder: Builder,
|
builder: Builder,
|
||||||
inner: WriteAll<T, &'static [u8]>,
|
inner: WriteAll<T, &'static [u8]>,
|
||||||
_marker: PhantomData<B>,
|
_marker: PhantomData<B>,
|
||||||
|
|||||||
Reference in New Issue
Block a user