Skip to content

Commit

Permalink
Merge pull request #15 from douglaz/test_ci
Browse files Browse the repository at this point in the history
chore: run cargo clippy --fix and cargo fmt
  • Loading branch information
justinmoon authored Dec 19, 2023
2 parents 62bc119 + 8e4fb08 commit 69595db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,7 @@ fn main() -> std::io::Result<()> {
"invoicesrpc/invoices.proto",
];

let proto_paths: Vec<_> = protos
.iter()
.map(|proto| {
let proto_path = dir.join(proto);
proto_path
})
.collect();
let proto_paths: Vec<_> = protos.iter().map(|proto| dir.join(proto)).collect();

tonic_build::configure()
.build_client(true)
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ mod tls {
for (c, p) in self.certs.iter().zip(certs.iter()) {
if *p.0 != **c {
return Err(TLSError::General(
"Server certificates do not match ours".to_string()
"Server certificates do not match ours".to_string(),
));
}
}
Expand Down

0 comments on commit 69595db

Please sign in to comment.