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.
|
/// * `event` - The raw JSON of a room message event.
|
||||||
/// * `context` - The context of the message and room at the time of the event.
|
/// * `context` - The context of the message and room at the time of the event.
|
||||||
pub fn get_actions<'a, T>(
|
pub fn get_actions<T>(&self, event: &Raw<T>, context: &PushConditionRoomCtx) -> &[Action]
|
||||||
&'a self,
|
|
||||||
event: &Raw<T>,
|
|
||||||
context: &PushConditionRoomCtx,
|
|
||||||
) -> &'a [Action]
|
|
||||||
where
|
where
|
||||||
T: Serialize,
|
T: Serialize,
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user