Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

style(engine): cargo fmt frame_linker helpers

Louis Beaumontc643a61a304b
diff --git a/crates/screenpipe-engine/src/event_driven_capture.rs b/crates/screenpipe-engine/src/event_driven_capture.rs
index 48930da7f..fc7bde9f9 100644
--- a/crates/screenpipe-engine/src/event_driven_capture.rs
+++ b/crates/screenpipe-engine/src/event_driven_capture.rs
@@ -114,9 +114,7 @@ fn report_triggers_dropped(
reason: crate::frame_linker::DropReason,
) {
let Some(linker) = linker_tx else { return };
- if correlation_ids.is_empty()
- && !matches!(reason, crate::frame_linker::DropReason::Lagged)
- {
+ if correlation_ids.is_empty() && !matches!(reason, crate::frame_linker::DropReason::Lagged) {
// Nothing to report unless we're tracking the lag counter.
return;
}
@@ -129,7 +127,9 @@ fn report_triggers_dropped(
/// Drain whatever's currently in the broadcast receiver into a
/// `Vec<CorrelationId>`. Used by pause / cold-monitor branches that
/// must let the linker know these triggers will never produce a frame.
-fn drain_pending_corr_ids(trigger_rx: &mut TriggerReceiver) -> Vec<crate::frame_linker::CorrelationId> {
+fn drain_pending_corr_ids(
+ trigger_rx: &mut TriggerReceiver,
+) -> Vec<crate::frame_linker::CorrelationId> {
let mut out = Vec::new();
loop {
match trigger_rx.try_recv() {