Clippy: Fix inconsistent struct member orders lint
This commit is contained in:
parent
f2bdebee07
commit
895bb43ead
|
@ -85,8 +85,8 @@ where
|
|||
let semaphore = Semaphore::new(bound);
|
||||
Batch {
|
||||
tx,
|
||||
handle,
|
||||
semaphore,
|
||||
handle,
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -140,8 +140,8 @@ where
|
|||
|
||||
match self.tx.send(Message {
|
||||
request,
|
||||
span,
|
||||
tx,
|
||||
span,
|
||||
_permit,
|
||||
}) {
|
||||
Err(_) => ResponseFuture::failed(self.get_worker_error()),
|
||||
|
|
|
@ -218,7 +218,7 @@ impl Service<Request> for Client {
|
|||
// request.
|
||||
let span = tracing::Span::current();
|
||||
|
||||
match self.server_tx.try_send(ClientRequest { request, span, tx }) {
|
||||
match self.server_tx.try_send(ClientRequest { request, tx, span }) {
|
||||
Err(e) => {
|
||||
if e.is_disconnected() {
|
||||
let ClientRequest { tx, .. } = e.into_inner();
|
||||
|
|
|
@ -51,7 +51,7 @@ impl CommandExt for Command {
|
|||
.wrap_err("failed to execute process")
|
||||
.with_section(command)?;
|
||||
|
||||
Ok(TestStatus { status, cmd })
|
||||
Ok(TestStatus { cmd, status })
|
||||
}
|
||||
|
||||
/// wrapper for `output` fn on `Command` that constructs informative error
|
||||
|
|
Loading…
Reference in New Issue