From 4570fa2feff3f78593f31b84afad1d17bfb7a79d Mon Sep 17 00:00:00 2001 From: Kinrany Date: Tue, 21 Jul 2020 01:35:11 +0300 Subject: [PATCH] Update AnyPushRule description --- ruma-common/src/push.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.