Skip to content

Commit 7aa7efb

Browse files
committed
Add missing const
1 parent 59e05f8 commit 7aa7efb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/transforms/tag_cardinality_limit/tag_value_set.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ impl AcceptedTagValueSet {
370370
/// Test-only accessor: true iff this set uses a TTL-enabled backend.
371371
/// Lets tests pin backend selection without exposing the internal enum.
372372
#[cfg(test)]
373-
pub(crate) fn ttl_enabled(&self) -> bool {
373+
pub(crate) const fn ttl_enabled(&self) -> bool {
374374
matches!(
375375
self.storage,
376376
TagValueSetStorage::TtlSet(_) | TagValueSetStorage::RollingBloom(_)

0 commit comments

Comments
 (0)