Skip to content

Commit 204ea4e

Browse files
authored
Merge pull request #183 from github/aneubeck/no-debug
Remove Debug trait from service traits
2 parents 749c7d7 + 929ddd2 commit 204ea4e

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/twirp-build/src/lib.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,7 @@ where
9393
//
9494
writeln!(buf).unwrap();
9595
writeln!(buf, "#[twirp::async_trait::async_trait]").unwrap();
96-
writeln!(
97-
buf,
98-
"pub trait {service_name}Client: Send + Sync + std::fmt::Debug {{",
99-
)
100-
.unwrap();
96+
writeln!(buf, "pub trait {service_name}Client: Send + Sync {{",).unwrap();
10197
for m in &service.methods {
10298
// Define: <METHOD>
10399
writeln!(

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy