File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1+ use std:: cmp:: { max, Ordering , Reverse } ;
12use std:: collections:: BinaryHeap ;
23use std:: fmt:: Formatter ;
34use std:: time:: Duration ;
@@ -9,7 +10,6 @@ use pcap::Capture;
910use structopt:: StructOpt ;
1011
1112use network_parser_combinator:: parse_ethernet_packet;
12- use std:: cmp:: { max, Ordering , Reverse } ;
1313
1414#[ derive( StructOpt ) ]
1515struct Cli {
@@ -155,15 +155,17 @@ fn main() {
155155 worker. join ( ) . unwrap ( )
156156 }
157157 } )
158- . unwrap ( ) ;
158+ . unwrap ( ) ;
159159}
160160
161161#[ cfg( test) ]
162162mod tests {
163- use crate :: { ParsedPacket , ParsedPacketsPrintBuffer } ;
164- use network_parser_combinator:: Protocol ;
165163 use std:: error:: Error ;
166164
165+ use network_parser_combinator:: Protocol ;
166+
167+ use crate :: { ParsedPacket , ParsedPacketsPrintBuffer } ;
168+
167169 #[ test]
168170 fn print_buffer_add_on_packet_with_non_sequential_count_save_in_buffer (
169171 ) -> Result < ( ) , Box < dyn Error > > {
You can’t perform that action at this time.
0 commit comments