From d02d1fb348cec84d5769bfc983ab81a3e5f8ca81 Mon Sep 17 00:00:00 2001 From: Alexey Orlenko Date: Thu, 21 Nov 2024 17:03:57 +0100 Subject: [PATCH] Hide RequestId::from_u64 even more --- libs/telemetry/src/capturing/ng/collector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/telemetry/src/capturing/ng/collector.rs b/libs/telemetry/src/capturing/ng/collector.rs index da563afe907..910ac2dc9ba 100644 --- a/libs/telemetry/src/capturing/ng/collector.rs +++ b/libs/telemetry/src/capturing/ng/collector.rs @@ -102,7 +102,7 @@ impl RequestId { self.0.into_u64() } - pub(crate) fn from_u64(value: u64) -> Option { + pub(super) fn from_u64(value: u64) -> Option { SerializableNonZeroU64::from_u64(value).map(Self) } }