Skip to content

Commit

Permalink
fix: add a private field to Event (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
EAimTY authored Oct 17, 2024
1 parent cd91909 commit 4e56ca4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fastrace/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4e56ca4

Please # to comment.