formatting to new rust nightly and remove debug print

This commit is contained in:
bunnie 2024-09-23 01:17:45 +08:00
parent 2f8604299c
commit a3933a7465

View file

@ -212,8 +212,6 @@ impl<'buf> Buffer<'buf> {
let serialized_buf = let serialized_buf =
rkyv::api::low::to_bytes_in_with_alloc::<_, _, Panic>(&wrap, writer, alloc).map_err(|_| ())?; rkyv::api::low::to_bytes_in_with_alloc::<_, _, Panic>(&wrap, writer, alloc).map_err(|_| ())?;
xous_buf.used = serialized_buf.pos(); xous_buf.used = serialized_buf.pos();
println!("pos: {}", xous_buf.used);
println!("scratch: {:x?}", &scratch[..16]);
Ok(xous_buf) Ok(xous_buf)
} }