瀏覽代碼

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>,