Fix rust compiler warnings.

This commit is contained in:
Drew Galbraith 2024-07-28 18:14:18 -07:00
parent 1e073d5060
commit 19144f7be9
3 changed files with 8 additions and 6 deletions

View file

@ -31,9 +31,9 @@ pub struct Empty {}
impl YunqMessage for Empty {
fn parse<const N: usize>(
buf: &ByteBuffer<N>,
offset: usize,
caps: &Vec<z_cap_t>,
_buf: &ByteBuffer<N>,
_offset: usize,
_caps: &Vec<z_cap_t>,
) -> Result<Self, ZError>
where
Self: Sized,
@ -43,9 +43,9 @@ impl YunqMessage for Empty {
fn serialize<const N: usize>(
&self,
buf: &mut ByteBuffer<N>,
offset: usize,
caps: &mut Vec<z_cap_t>,
_buf: &mut ByteBuffer<N>,
_offset: usize,
_caps: &mut Vec<z_cap_t>,
) -> Result<usize, ZError> {
todo!()
}