From ce59dd9dfe6ea87f9cf38fe2d8cc6ae9dd203e6e Mon Sep 17 00:00:00 2001 From: jasonwitty Date: Sun, 24 Aug 2025 12:52:56 -0700 Subject: [PATCH] chore(agent): fix clippy needless_return for non-linux process collection --- socktop_agent/src/metrics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/socktop_agent/src/metrics.rs b/socktop_agent/src/metrics.rs index bff201b..35600f9 100644 --- a/socktop_agent/src/metrics.rs +++ b/socktop_agent/src/metrics.rs @@ -452,6 +452,6 @@ pub async fn collect_processes_all(state: &AppState) -> ProcessesPayload { let mut cache = state.cache_processes.lock().await; cache.set(payload.clone()); } - return payload; + payload } }