diff options
author | 2023-03-30 01:40:14 +0000 | |
---|---|---|
committer | 2023-03-30 21:06:28 +0000 | |
commit | 84c60740a30a6e28662defae8ca6d8df437e01fa (patch) | |
tree | f9bf8bf9910d1c80c931cb297748eeb12fdc6671 /system/rust/build.rs | |
parent | 7ef3c89ae3c782682686981daa075113b50754e1 (diff) |
[Connection Manager] Clean up build.rs
Bug: 272572974
Test: cargo clippy -- -D:warnings
Change-Id: I80ab16dff5e9badd38b767257a8aacd997e26e8c
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"); |