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 {
|
match key {
|
||||||
Field::JsonRpc => {
|
Field::JsonRpc => {
|
||||||
// throw away the value
|
// throw away the value
|
||||||
let foo: String = map.next_value()?;
|
let _: String = map.next_value()?;
|
||||||
}
|
}
|
||||||
Field::Id => {
|
Field::Id => {
|
||||||
if id.is_some() {
|
if id.is_some() {
|
||||||
|
Loading…
Reference in New Issue
Block a user