Skip to content

Commit 73dd771

Browse files
author
Flávio Oliveira
authored
Fixed Clippy warnings and removed Chain information
1 parent af6c938 commit 73dd771

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/main.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
extern crate log;
33
#[macro_use]
44
extern crate error_chain;
5-
#[macro_use]
6-
extern crate serde_derive;
7-
use serde_json;
85

96
mod data;
107
mod errors;
@@ -43,7 +40,7 @@ impl EventHandler for WebSocketHandler {
4340
if cert.message_type.contains("certificate_update") {
4441
for domain in cert.data.leaf_cert.all_domains {
4542
self.nettfiske
46-
.analyse_domain(&domain, cert.data.chain.clone());
43+
.analyse_domain(&domain);
4744
}
4845
}
4946
}

0 commit comments

Comments
 (0)