fix(warnings): add an underscore to unused variables
This commit is contained in:
parent
f74cfd3ff3
commit
d9cee5ddb4
9 changed files with 9 additions and 9 deletions
|
|
@ -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<()> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue