From ee8c8ebae6680a8ff2f0e221bcdcdee52154963e Mon Sep 17 00:00:00 2001 From: Jonathan Strong Date: Sat, 19 May 2018 04:04:54 -0400 Subject: [PATCH] makes hist::C type alias pub --- src/hist.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hist.rs b/src/hist.rs index 0b27da4..68a5bc4 100644 --- a/src/hist.rs +++ b/src/hist.rs @@ -10,7 +10,7 @@ use hdrhistogram::{Histogram}; use hdrhistogram::serialization::V2DeflateSerializer; use hdrhistogram::serialization::interval_log::{IntervalLogWriterBuilder, Tag}; -type C = u64; +pub type C = u64; pub fn nanos(d: Duration) -> u64 { d.as_secs() * 1_000_000_000_u64 + (d.subsec_nanos() as u64)