From 34e89f4d1199d300f677107cf7bc8453916ea9bd Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Fri, 17 Jul 2020 01:20:30 +0200 Subject: [PATCH] Update EncryptionEventContent docs --- ruma-events/src/room/encryption.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, }