Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
bkolobara committed May 20, 2022
1 parent d774ac7 commit 1ba1c75
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/lunatic-process-api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -739,10 +739,7 @@ fn unlink<T: ProcessState + ProcessCtx<T>>(
//
// Traps:
// * If the process ID doesn't exist.
fn kill<T: ProcessState + ProcessCtx<T>>(
mut caller: Caller<T>,
process_id: u64,
) -> Result<(), Trap> {
fn kill<T: ProcessState + ProcessCtx<T>>(caller: Caller<T>, process_id: u64) -> Result<(), Trap> {
// Send kill signal to process
let process = caller
.data()
Expand Down

0 comments on commit 1ba1c75

Please sign in to comment.