From 75acbe1455fb59a354848034ffba8f79ba711b3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alessandro=C2=A0Decina?= Date: Sun, 24 Oct 2021 09:40:07 +0000 Subject: [PATCH] xtask: fix clippy warning --- xtask/src/codegen/aya_bpf_bindings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtask/src/codegen/aya_bpf_bindings.rs b/xtask/src/codegen/aya_bpf_bindings.rs index b796a824..a5d74ce0 100644 --- a/xtask/src/codegen/aya_bpf_bindings.rs +++ b/xtask/src/codegen/aya_bpf_bindings.rs @@ -93,7 +93,7 @@ pub fn codegen(opts: &Options) -> Result<(), anyhow::Error> { // write the new helpers as expanded by expand_helpers() write_to_file_fmt( &generated.join("helpers.rs"), - &format!("use super::bindings::*; {}", helpers.to_string()), + &format!("use super::bindings::*; {}", helpers), )?; // write the bpf_probe_read() getters