Skip to content

Commit 179fae4

Browse files
#[allow(clippy::unit_arg)]
1 parent 03d1841 commit 179fae4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/proto/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ impl UnaryMethod {
343343
.arg_ref_self()
344344
.arg("request", format!("tonic::Request<{}>", self.request))
345345
.ret(format!("tonic::Result<tonic::Response<{}>>", self.response))
346+
.line("#[allow(clippy::unit_arg)]")
346347
.line(format!(
347348
"<T as {}>::full(self, request.into_inner()).await.map(tonic::Response::new)",
348349
self.name

0 commit comments

Comments
 (0)