change from deprecated Buf::put_*<E> to put_*_be (#267)

This commit is contained in:
Sean McArthur
2018-04-27 14:35:28 -07:00
committed by Carl Lerche
parent fadec67fdf
commit e8fcd34476
8 changed files with 17 additions and 18 deletions

View File

@@ -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());
})
}