mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 19:17:58 +00:00
Clippyfy (#6341)
* Add clippy config and remove .cargo from gitignore * first fixes * Clippyfied * Add clippy CI job * comment out rusty-cachier * minor * fix ci * remove DAG from check-dependent-project * add DAG to clippy Co-authored-by: alvicsam <alvicsam@gmail.com>
This commit is contained in:
@@ -338,8 +338,7 @@ impl RequestChunksFromValidators {
|
||||
index: validator_index,
|
||||
};
|
||||
|
||||
let (req, res) =
|
||||
OutgoingRequest::new(Recipient::Authority(validator), raw_request.clone());
|
||||
let (req, res) = OutgoingRequest::new(Recipient::Authority(validator), raw_request);
|
||||
requests.push(Requests::ChunkFetchingV1(req));
|
||||
|
||||
params.metrics.on_chunk_request_issued();
|
||||
@@ -973,7 +972,7 @@ async fn query_full_data<Context>(
|
||||
ctx.send_message(AvailabilityStoreMessage::QueryAvailableData(candidate_hash, tx))
|
||||
.await;
|
||||
|
||||
Ok(rx.await.map_err(error::Error::CanceledQueryFullData)?)
|
||||
rx.await.map_err(error::Error::CanceledQueryFullData)
|
||||
}
|
||||
|
||||
#[overseer::contextbounds(AvailabilityRecovery, prefix = self::overseer)]
|
||||
|
||||
Reference in New Issue
Block a user