use bytes::Bytes

This commit is contained in:
nora 2022-02-10 01:32:15 +01:00
parent c333f20531
commit 970fdbb9b5
5 changed files with 9 additions and 5 deletions

View file

@ -22,7 +22,7 @@ async fn write_start_ok_frame() {
let frame = frame::Frame {
kind: FrameType::Method,
channel: 0,
payload,
payload: payload.into(),
};
let mut output = Vec::new();