File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change
1
+ use std:: cmp:: { max, Ordering , Reverse } ;
1
2
use std:: collections:: BinaryHeap ;
2
3
use std:: fmt:: Formatter ;
3
4
use std:: time:: Duration ;
@@ -9,7 +10,6 @@ use pcap::Capture;
9
10
use structopt:: StructOpt ;
10
11
11
12
use network_parser_combinator:: parse_ethernet_packet;
12
- use std:: cmp:: { max, Ordering , Reverse } ;
13
13
14
14
#[ derive( StructOpt ) ]
15
15
struct Cli {
@@ -155,15 +155,17 @@ fn main() {
155
155
worker. join ( ) . unwrap ( )
156
156
}
157
157
} )
158
- . unwrap ( ) ;
158
+ . unwrap ( ) ;
159
159
}
160
160
161
161
#[ cfg( test) ]
162
162
mod tests {
163
- use crate :: { ParsedPacket , ParsedPacketsPrintBuffer } ;
164
- use network_parser_combinator:: Protocol ;
165
163
use std:: error:: Error ;
166
164
165
+ use network_parser_combinator:: Protocol ;
166
+
167
+ use crate :: { ParsedPacket , ParsedPacketsPrintBuffer } ;
168
+
167
169
#[ test]
168
170
fn print_buffer_add_on_packet_with_non_sequential_count_save_in_buffer (
169
171
) -> Result < ( ) , Box < dyn Error > > {
You can’t perform that action at this time.
0 commit comments