We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59e05f8 commit 7aa7efbCopy full SHA for 7aa7efb
1 file changed
src/transforms/tag_cardinality_limit/tag_value_set.rs
@@ -370,7 +370,7 @@ impl AcceptedTagValueSet {
370
/// Test-only accessor: true iff this set uses a TTL-enabled backend.
371
/// Lets tests pin backend selection without exposing the internal enum.
372
#[cfg(test)]
373
- pub(crate) fn ttl_enabled(&self) -> bool {
+ pub(crate) const fn ttl_enabled(&self) -> bool {
374
matches!(
375
self.storage,
376
TagValueSetStorage::TtlSet(_) | TagValueSetStorage::RollingBloom(_)
0 commit comments