diff --git a/ruma-events/src/room/encryption.rs b/ruma-events/src/room/encryption.rs index dffac452..2f0ef329 100644 --- a/ruma-events/src/room/encryption.rs +++ b/ruma-events/src/room/encryption.rs @@ -20,13 +20,13 @@ pub struct EncryptionEventContent { /// How long the session should be used before changing it. /// - /// 604800000 (a week) is the recommended default. + /// `uint!(604800000)` (a week) is the recommended default. #[serde(skip_serializing_if = "Option::is_none")] pub rotation_period_ms: Option, /// How many messages should be sent before changing the session. /// - /// 100 is the recommended default. + /// `uint!(100)` is the recommended default. #[serde(skip_serializing_if = "Option::is_none")] pub rotation_period_msgs: Option, }