diff --git a/rust/src/events/mod.rs b/rust/src/events/mod.rs index 0cf1923150..9225ea84bc 100644 --- a/rust/src/events/mod.rs +++ b/rust/src/events/mod.rs @@ -212,8 +212,7 @@ impl Event { }) } - /// Serializes the event into a Python dict (i.e. the same shape as if we - /// had parsed the event from JSON). + /// Convert the event to a dictionary suitable for serialisation. fn get_dict<'py>(&self, py: Python<'py>) -> PyResult> { Ok(pythonize(py, &self.parsed_event)?) }