Skip to content

Commit bcc2c6c

Browse files
authored
chore(volo): bump volo to 0.10.4 (#544)
* chore(volo): bump volo to 0.10.4 * chore: fix some clippy warnings This commit fixes clippy warning `useless_conversion`. Also, a false positive rule `literal_string_with_formatting_args` is introduced in the nightly toolchain, we cannot `allow` it because it is a new rule that does not exist in the stable toolchain, so we should ignore it manually. Ref: rust-lang/rust-clippy#13928 --------- Signed-off-by: Yu Li <[email protected]>
1 parent 03e22de commit bcc2c6c

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

volo-grpc/src/layer/loadbalance/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ where
9797
.await
9898
.map_err(|err| err.into())?,
9999
_ => {
100-
return self.service.call(cx, req).await.map_err(Into::into);
100+
return self.service.call(cx, req).await;
101101
}
102102
};
103103

volo-thrift/src/client/layer/timeout.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ where
2525
Some(duration) => {
2626
let start = std::time::Instant::now();
2727
match tokio::time::timeout(duration, self.inner.call(cx, req)).await {
28-
Ok(r) => r.map_err(Into::into),
28+
Ok(r) => r,
2929
Err(_) => {
3030
let msg = format!(
3131
"[VOLO] thrift rpc call timeout, rpcinfo: {:?}, elpased: {:?}, \
@@ -43,7 +43,7 @@ where
4343
}
4444
}
4545
}
46-
None => self.inner.call(cx, req).await.map_err(Into::into),
46+
None => self.inner.call(cx, req).await,
4747
}
4848
}
4949
}

volo-thrift/src/transport/pool/make_transport.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ where
5454

5555
async fn call(&self, kv: (K, Ver)) -> Result<Self::Response, Self::Error> {
5656
let mt = self.inner.clone();
57-
self.pool.get(kv.0, kv.1, mt).await.map_err(Into::into)
57+
self.pool.get(kv.0, kv.1, mt).await
5858
}
5959
}

volo/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "volo"
3-
version = "0.10.3"
3+
version = "0.10.4"
44
edition.workspace = true
55
homepage.workspace = true
66
repository.workspace = true

0 commit comments

Comments
 (0)