no need for a named variable here
This commit is contained in:
parent
3914a41fa2
commit
547502ebea
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user