From c3756aafc52e20b0a21c30a40cde1a3a730d199b Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Wed, 6 Apr 2022 14:59:26 +0200 Subject: [PATCH] events: Fix comment --- crates/ruma-common/src/events/room/power_levels.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ruma-common/src/events/room/power_levels.rs b/crates/ruma-common/src/events/room/power_levels.rs index c9afc4db..d7e197bb 100644 --- a/crates/ruma-common/src/events/room/power_levels.rs +++ b/crates/ruma-common/src/events/room/power_levels.rs @@ -142,8 +142,8 @@ pub struct RoomPowerLevelsEventContent { impl RoomPowerLevelsEventContent { /// Creates a new `RoomPowerLevelsEventContent` with all-default values. pub fn new() -> Self { - // events_default and users_default having a default of 0 while the others have a default - // of 50 is not an oversight, these defaults are from the Matrix specification. + // events_default, users_default and invite having a default of 0 while the others have a + // default of 50 is not an oversight, these defaults are from the Matrix specification. Self { ban: default_power_level(), events: BTreeMap::new(),