diff --git a/rust/src/events/mod.rs b/rust/src/events/mod.rs index 9225ea84bc..680684028e 100644 --- a/rust/src/events/mod.rs +++ b/rust/src/events/mod.rs @@ -260,7 +260,7 @@ impl Event { /// Like [`Event::get_dict`], except strips fields like `signatures`, /// `hashes` and `unsigned` so that the result is suitable as a template for - /// creating new events. + /// creating new events. Used in make_{join,leave,knock} flows. fn get_templated_pdu_json<'py>(&self, py: Python<'py>) -> PyResult> { // Use get_dict but strip signatures, unsigned, and hashes — the // joining/leaving/knocking server will re-sign and recalculate hashes.