From dd4ee87d36e026e346b39c2f706f036d5875e71b Mon Sep 17 00:00:00 2001 From: pdliyan Date: Tue, 10 Oct 2023 17:56:20 +0800 Subject: [PATCH] format --- test/integration-ebpf/src/stack_argument.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration-ebpf/src/stack_argument.rs b/test/integration-ebpf/src/stack_argument.rs index 616b5c0e..b0955d6f 100644 --- a/test/integration-ebpf/src/stack_argument.rs +++ b/test/integration-ebpf/src/stack_argument.rs @@ -27,7 +27,7 @@ fn try_stack_argument(ctx: ProbeContext) -> Result { let _ = ARGS.insert(&arg, &ctx.arg(arg as usize).ok_or(255)?, 0); } else { let arg_v: Option = ctx.arg(arg as usize); - if let None = arg_v { + if arg_v.is_none() { // assume that we shall read from stack now. stack = true; continue;