diff options
Diffstat (limited to 'src/util/mod.rs')
| -rw-r--r-- | src/util/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/mod.rs b/src/util/mod.rs index b8bf90d2..592ba1fa 100644 --- a/src/util/mod.rs +++ b/src/util/mod.rs @@ -34,6 +34,7 @@ where } /// Calculate a 128-bit siphash of a value. +#[tracing::instrument(skip_all)] pub fn hash128<T: Hash + ?Sized>(value: &T) -> u128 { let mut state = SipHasher13::new(); value.hash(&mut state); @@ -128,6 +129,7 @@ pub trait PathExt { } impl PathExt for Path { + #[tracing::instrument(skip_all)] fn normalize(&self) -> PathBuf { let mut out = PathBuf::new(); for component in self.components() { |
