common: Remove unneeded lifetime annotation
This commit is contained in:
parent
eec58921ad
commit
c4e918cfc4
@ -97,11 +97,7 @@ impl Ruleset {
|
||||
///
|
||||
/// * `event` - The raw JSON of a room message event.
|
||||
/// * `context` - The context of the message and room at the time of the event.
|
||||
pub fn get_actions<'a, T>(
|
||||
&'a self,
|
||||
event: &Raw<T>,
|
||||
context: &PushConditionRoomCtx,
|
||||
) -> &'a [Action]
|
||||
pub fn get_actions<T>(&self, event: &Raw<T>, context: &PushConditionRoomCtx) -> &[Action]
|
||||
where
|
||||
T: Serialize,
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user