Skip to content

Commit e344f5e

Browse files
committed
Document private label value storage
1 parent 3c70c21 commit e344f5e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • datafusion/physical-expr-common/src/metrics

datafusion/physical-expr-common/src/metrics/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,9 @@ impl Display for Label {
565565
pub struct LabelValue(LabelValueInner);
566566

567567
/// Internal representation for label names and values.
568+
///
569+
/// Keep the storage variants private so `LabelValue` can remain a public input
570+
/// type for `Label::new` without exposing its representation as public API.
568571
#[derive(Clone)]
569572
enum LabelValueInner {
570573
Static(&'static str),

0 commit comments

Comments
 (0)