no need for a named variable here

This commit is contained in:
Bryan Stitt 2022-05-11 23:51:19 +00:00
parent 3914a41fa2
commit 547502ebea

View File

@ -83,7 +83,7 @@ impl<'de> Deserialize<'de> for JsonRpcRequestEnum {
match key {
Field::JsonRpc => {
// throw away the value
let foo: String = map.next_value()?;
let _: String = map.next_value()?;
}
Field::Id => {
if id.is_some() {