Skip to content

Commit

Permalink
Reduce cfg complexity for intern-* features
Browse files Browse the repository at this point in the history
  • Loading branch information
Hartigan committed Apr 5, 2024
1 parent 1fddd6a commit 956ad09
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions opentelemetry-datadog/src/exporter/intern.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ use std::{
hash::{BuildHasherDefault, Hash},
};

#[cfg(any(
feature = "intern-ahash",
all(feature = "intern-std", feature = "intern-ahash")
))]
#[cfg(feature = "intern-ahash")]
type InternHasher = ahash::AHasher;

#[cfg(all(feature = "intern-std", not(feature = "intern-ahash")))]
Expand Down

0 comments on commit 956ad09

Please sign in to comment.