diff options
Diffstat (limited to 'system/rust/build.rs')
-rw-r--r-- | system/rust/build.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/rust/build.rs b/system/rust/build.rs index f0e49e69df..af1895276d 100644 --- a/system/rust/build.rs +++ b/system/rust/build.rs @@ -11,7 +11,7 @@ fn main() { let dest_file = File::create(dest_path).unwrap(); let pdl = Command::new("pdl") - .args(&["--output-format", "rust_no_alloc", "src/packets.pdl"]) + .args(["--output-format", "rust_no_alloc", "src/packets.pdl"]) .stdout(Stdio::piped()) .spawn() .unwrap(); @@ -22,7 +22,7 @@ fn main() { rustfmt.wait().unwrap(); if let Some(err) = rustfmt.stderr { - panic!("{:?}", err); + panic!("{err:?}"); } println!("cargo:rerun-if-changed=build.rs"); |