fix(warnings): add an underscore to unused variables

This commit is contained in:
Andrea Toska 2025-02-07 08:48:22 +01:00
commit d9cee5ddb4
9 changed files with 9 additions and 9 deletions

View file

@ -23,7 +23,7 @@ impl RmcSerialize for String{
}
impl RmcSerialize for &str{
fn deserialize(reader: &mut dyn Read) -> Result<Self> {
fn deserialize(_reader: &mut dyn Read) -> Result<Self> {
panic!("cannot serialize to &str")
}
fn serialize(&self, writer: &mut dyn Write) -> Result<()> {