Explorar el Código

xtask: fix clippy warning

Alessandro Decina hace 3 años
padre
commit
75acbe1455
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      xtask/src/codegen/aya_bpf_bindings.rs

+ 1 - 1
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