equal
deleted
inserted
replaced
32 parse_pattern_syntax, read_pattern_file, IgnorePattern, |
32 parse_pattern_syntax, read_pattern_file, IgnorePattern, |
33 PatternFileWarning, PatternSyntax, |
33 PatternFileWarning, PatternSyntax, |
34 }; |
34 }; |
35 use std::collections::HashMap; |
35 use std::collections::HashMap; |
36 use twox_hash::RandomXxHashBuilder64; |
36 use twox_hash::RandomXxHashBuilder64; |
|
37 |
|
38 /// This is a contract between the `micro-timer` crate and us, to expose |
|
39 /// the `log` crate as `crate::log`. |
|
40 use log; |
37 |
41 |
38 pub type LineNumber = usize; |
42 pub type LineNumber = usize; |
39 |
43 |
40 /// Rust's default hasher is too slow because it tries to prevent collision |
44 /// Rust's default hasher is too slow because it tries to prevent collision |
41 /// attacks. We are not concerned about those: if an ill-minded person has |
45 /// attacks. We are not concerned about those: if an ill-minded person has |