rust/hg-core/src/lib.rs
changeset 44541 d880805d5442
parent 44528 c8891bca40fb
child 44562 ece43c79333e
equal deleted inserted replaced
44540:82f51ab7a2dd 44541:d880805d5442
    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