Explorar el Código

event_graph: minor correction of a comment

Dastan-glitch hace 3 años
padre
commit
f1e01243e8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/event_graph/model.rs

+ 1 - 1
src/event_graph/model.rs

@@ -67,7 +67,7 @@ struct EventNode<T: Send + Sync> {
 pub type ModelPtr<T> = Arc<Mutex<Model<T>>>;
 
 pub struct Model<T: Send + Sync + Debug> {
-    // This is periodically updated so we discard old nodes
+    // This is up to the application to reset or keep
     current_root: EventId,
     orphans: HashMap<EventId, Event<T>>,
     event_map: HashMap<EventId, EventNode<T>>,