From 2f32e9863e5edd34d18ff94a3e02616e294fd9cb Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Wed, 13 Apr 2022 15:39:12 +0200 Subject: [PATCH] events: Remove invalid copy-pasted docs --- .../src/events/room/power_levels.rs | 27 ------------------- 1 file changed, 27 deletions(-) diff --git a/crates/ruma-common/src/events/room/power_levels.rs b/crates/ruma-common/src/events/room/power_levels.rs index 845625b8..8b44813b 100644 --- a/crates/ruma-common/src/events/room/power_levels.rs +++ b/crates/ruma-common/src/events/room/power_levels.rs @@ -202,61 +202,34 @@ impl SyncRoomPowerLevelsEvent { #[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)] pub struct RoomPowerLevels { /// The level required to ban a user. - /// - /// If you activate the `compat` feature, deserialization will work for stringified - /// integers too. pub ban: Int, /// The level required to send specific event types. /// /// This is a mapping from event type to power level required. - /// - /// If you activate the `compat` feature, deserialization will work for stringified - /// integers too. pub events: BTreeMap, /// The default level required to send message events. - /// - /// If you activate the `compat` feature, deserialization will work for stringified - /// integers too. pub events_default: Int, /// The level required to invite a user. - /// - /// If you activate the `compat` feature, deserialization will work for stringified - /// integers too. pub invite: Int, /// The level required to kick a user. - /// - /// If you activate the `compat` feature, deserialization will work for stringified - /// integers too. pub kick: Int, /// The level required to redact an event. - /// - /// If you activate the `compat` feature, deserialization will work for stringified - /// integers too. pub redact: Int, /// The default level required to send state events. - /// - /// If you activate the `compat` feature, deserialization will work for stringified - /// integers too. pub state_default: Int, /// The power levels for specific users. /// /// This is a mapping from `user_id` to power level for that user. - /// - /// If you activate the `compat` feature, deserialization will work for stringified - /// integers too. pub users: BTreeMap, Int>, /// The default power level for every user in the room. - /// - /// If you activate the `compat` feature, deserialization will work for stringified - /// integers too. pub users_default: Int, /// The power level requirements for specific notification types.