Loosen bounds on Handshake struct (#343)

This commit is contained in:
Sean McArthur
2019-02-07 13:03:53 -08:00
committed by Carl Lerche
parent 74f040f5bf
commit 8a0b7ff64f

View File

@@ -187,7 +187,7 @@ use std::usize;
///
/// [module]: index.html
#[must_use = "futures do nothing unless polled"]
pub struct Handshake<T, B: IntoBuf = Bytes> {
pub struct Handshake<T, B = Bytes> {
builder: Builder,
inner: WriteAll<T, &'static [u8]>,
_marker: PhantomData<B>,