Skip to content

Commit

Permalink
chore: Fix clippy lint from 1.73 (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall authored Oct 10, 2023
1 parent 1ef3b01 commit 5f70948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion physx-sys/pxbind/src/dump.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ pub fn get_ast(header: impl AsRef<std::path::Path>) -> anyhow::Result<Vec<u8>> {
captured.status.success(),
"clang++ failed to gather AST {:?}\n{}",
captured.status,
String::from_utf8(captured.stderr).unwrap_or(String::new()),
String::from_utf8(captured.stderr).unwrap_or_default(),
);

Ok(captured.stdout)
Expand Down

0 comments on commit 5f70948

Please sign in to comment.