Преглед изворни кода

specify timestamp unit in Event::timestamp

dasman пре 2 година
родитељ
комит
3aeec3d861
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/event_graph/event.rs

+ 1 - 1
src/event_graph/event.rs

@@ -31,7 +31,7 @@ use super::{
 /// Representation of an event in the Event Graph
 #[derive(Debug, Clone, SerialEncodable, SerialDecodable)]
 pub struct Event {
-    /// Timestamp of the event
+    /// Timestamp of the event in whole seconds
     pub(crate) timestamp: u64,
     /// Content of the event
     pub(crate) content: Vec<u8>,