Fix lints

pull/481/head
Alessandro Decina 2 years ago
parent 12e422b211
commit 63bbef46da

@ -76,7 +76,7 @@ pub fn generate<T: AsRef<str>>(
let output = Command::new("bindgen") let output = Command::new("bindgen")
.arg(file_path) .arg(file_path)
.args(&flags) .args(flags)
.output() .output()
.map_err(Error::Bindgen)?; .map_err(Error::Bindgen)?;

@ -72,7 +72,7 @@ fn build_docs(working_dir: &PathBuf, abs_header_path: &Path) -> Result<(), anyho
abs_header_path.to_str().unwrap() abs_header_path.to_str().unwrap()
), ),
) )
.args(&args) .args(args)
.status() .status()
.expect("failed to build aya docs"); .expect("failed to build aya docs");
assert!(status.success()); assert!(status.success());

Loading…
Cancel
Save