From 6ea95cc830c7ca0b11953434747ccff60fd243fe Mon Sep 17 00:00:00 2001 From: godzie44 Date: Fri, 13 Sep 2024 17:09:32 +0300 Subject: [PATCH] chore: fix clippy warns --- src/debugger/debugee/tracee.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/debugger/debugee/tracee.rs b/src/debugger/debugee/tracee.rs index 189d1c5..d747a19 100644 --- a/src/debugger/debugee/tracee.rs +++ b/src/debugger/debugee/tracee.rs @@ -89,9 +89,8 @@ impl Tracee { ); sys::ptrace::cont(self.pid, sig) - .map(|ok| { + .inspect(|_| { self.update_status(Running); - ok }) .map_err(Ptrace) }