diff --git a/fastrace/src/event.rs b/fastrace/src/event.rs index 749d797..63785fb 100644 --- a/fastrace/src/event.rs +++ b/fastrace/src/event.rs @@ -7,7 +7,9 @@ use crate::local::local_span_stack::LOCAL_SPAN_STACK; use crate::local::raw_span::RawKind; /// An event that represents a single point in time during the execution of a span. -pub struct Event; +pub struct Event { + _private: (), +} impl Event { /// Adds an event to the parent span with the given name and properties.