Skip to content

Commit 0067287

Browse files
committed
clippy fix
1 parent 4b9eadb commit 0067287

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

guest-examples/swap-info/build.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ fn main() {
1717
.arg(&current_dir)
1818
.arg("--output-dir")
1919
.arg(&output_dir)
20-
.arg("--target")
21-
.arg("aarch64-apple-darwin")
2220
.env("RUST_LOG", "info")
2321
.stdout(std::process::Stdio::inherit())
2422
.stderr(std::process::Stdio::inherit())

pvq-program-metadata-gen/src/bin/pvq-program-metadata-gen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ fn main() {
4848
let (manifest_content, optional_features) = if let Some(ref manifest_path) = args.manifest_path {
4949
// Read the manifest from the provided manifest path
5050
let content = std::fs::read_to_string(manifest_path)
51-
.expect(&format!("Failed to read manifest file: {}", manifest_path.display()));
51+
.unwrap_or_else(|_| panic!("Failed to read manifest file: {}", manifest_path.display()));
5252
debug!("Manifest content: {}", content);
5353

5454
// Extract features section from the manifest for active features determination

0 commit comments

Comments
 (0)