Skip to content

Commit

Permalink
Add more method links to doc comments
Browse files Browse the repository at this point in the history
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
  • Loading branch information
Arjentix committed May 19, 2022
1 parent 46cb318 commit 49382d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions data_model/src/trigger/set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,23 +219,23 @@ impl Set {
/// Handle [`DataEvent`].
///
/// Finds all actions, that are triggered by `event` and stores them.
/// This actions will be inspected in the next `Set::inspect_matched()` call
/// This actions will be inspected in the next [`Set::handle_data_event()`] call
pub fn handle_data_event(&self, event: &DataEvent) {
self.handle_event(&self.data_triggers, event, EventType::Data)
}

/// Handle [`PipelineEvent`].
///
/// Finds all actions, that are triggered by `event` and stores them.
/// This actions will be inspected in the next `Set::inspect_matched()` call
/// This actions will be inspected in the next [`Set::inspect_matched()`] call
pub fn handle_pipeline_event(&self, event: &PipelineEvent) {
self.handle_event(&self.pipeline_triggers, event, EventType::Pipeline)
}

/// Handle [`TimeEvent`].
///
/// Finds all actions, that are triggered by `event` and stores them.
/// This actions will be inspected in the next `Set::inspect_matched()` call
/// This actions will be inspected in the next [`Set::inspect_matched()`] call
pub fn handle_time_event(&self, event: &TimeEvent) {
for entry in &self.time_triggers {
let action = entry.value();
Expand All @@ -261,7 +261,7 @@ impl Set {
/// Handle [`ExecuteTriggerEvent`].
///
/// Finds all actions, that are triggered by `event` and stores them.
/// This actions will be inspected ln the next `Set::inspect_matched()` call
/// This actions will be inspected ln the next [`Set::inspect_matched()`] call
pub fn handle_execute_trigger_event(&self, event: &ExecuteTriggerEvent) {
self.handle_event(&self.by_call_triggers, event, EventType::ExecuteTrigger)
}
Expand Down

0 comments on commit 49382d7

Please sign in to comment.