rust/hg-core/src/matchers.rs
changeset 49913 c15b415d1bff
parent 49630 c7fb9b74e753
child 49930 e98fd81bb151
--- a/rust/hg-core/src/matchers.rs	Thu Jan 12 16:15:51 2023 +0000
+++ b/rust/hg-core/src/matchers.rs	Fri Jan 06 18:52:04 2023 +0100
@@ -30,8 +30,6 @@
 use std::ops::Deref;
 use std::path::{Path, PathBuf};
 
-use micro_timer::timed;
-
 #[derive(Debug, PartialEq)]
 pub enum VisitChildrenSet {
     /// Don't visit anything
@@ -611,7 +609,7 @@
 /// This can fail when the pattern is invalid or not supported by the
 /// underlying engine (the `regex` crate), for instance anything with
 /// back-references.
-#[timed]
+#[logging_timer::time("trace")]
 fn re_matcher(pattern: &[u8]) -> PatternResult<RegexMatcher> {
     use std::io::Write;