Skip to content
Snippets Groups Projects
Commit 11da3955 authored by Niklas Adolfsson's avatar Niklas Adolfsson Committed by Gav Wood
Browse files

style(on_demand): remove needless wildcards (#2171)

parent 669e7918
Branches
No related merge requests found
......@@ -259,7 +259,7 @@ impl<B> OnDemandService<B> for OnDemand<B> where
},
Err(error) => Accept::CheckFailed(error, RequestData::RemoteHeader(request, sender)),
},
data @ _ => Accept::Unexpected(data),
data => Accept::Unexpected(data),
})
}
......@@ -273,7 +273,7 @@ impl<B> OnDemandService<B> for OnDemand<B> where
},
Err(error) => Accept::CheckFailed(error, RequestData::RemoteRead(request, sender)),
},
data @ _ => Accept::Unexpected(data),
data => Accept::Unexpected(data),
})
}
......@@ -287,7 +287,7 @@ impl<B> OnDemandService<B> for OnDemand<B> where
},
Err(error) => Accept::CheckFailed(error, RequestData::RemoteCall(request, sender)),
},
data @ _ => Accept::Unexpected(data),
data => Accept::Unexpected(data),
})
}
......@@ -307,7 +307,7 @@ impl<B> OnDemandService<B> for OnDemand<B> where
},
Err(error) => Accept::CheckFailed(error, RequestData::RemoteChanges(request, sender)),
},
data @ _ => Accept::Unexpected(data),
data => Accept::Unexpected(data),
})
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment