change from deprecated Buf::put_*<E> to put_*_be (#267)
This commit is contained in:
committed by
Carl Lerche
parent
fadec67fdf
commit
e8fcd34476
@@ -371,7 +371,7 @@ impl PushPromise {
|
||||
|
||||
self.header_block.into_encoding()
|
||||
.encode(&head, encoder, dst, |dst| {
|
||||
dst.put_u32::<BigEndian>(promised_id.into());
|
||||
dst.put_u32_be(promised_id.into());
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user