diff --git a/ruma-common/src/push.rs b/ruma-common/src/push.rs index 12469e6f..a004916f 100644 --- a/ruma-common/src/push.rs +++ b/ruma-common/src/push.rs @@ -106,7 +106,8 @@ pub struct PatternedPushRule { pub pattern: String, } -/// A push rule +/// Like `PushRule`, but may represent any kind of push rule +/// thanks to `pattern` and `conditions` being optional. #[derive(Clone, Debug, Serialize, Deserialize)] pub struct AnyPushRule { /// The actions to perform when this rule is matched.