diff --git a/src/packet.rs b/src/packet.rs index 815504d2ab5a0b..5fdcab1acb59c2 100644 --- a/src/packet.rs +++ b/src/packet.rs @@ -246,7 +246,10 @@ pub fn to_blob( let mut b = blob.write().unwrap(); let v = serialize(&resp)?; let len = v.len(); - //TODO: we are not using .data_mut() method here because the raw bytes are being serialized and sent, this isn't the right interface, and we should create a separate path for sending request responses in the RPU + // TODO: we are not using .data_mut() method here because + // the raw bytes are being serialized and sent, this isn't the + // right interface, and we should create a separate path for + // sending request responses in the RPU b.data[..len].copy_from_slice(&v); b.meta.size = len; b.meta.set_addr(&rsp_addr);