Merge pull request #795 from aya-rs/clippy

appease clippy
pull/791/head
Tamir Duberstein 12 months ago committed by GitHub
commit 2f9c67c735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -67,10 +67,10 @@ pub fn docs(metadata: Metadata) -> Result<()> {
fs::write(
site.join("robots.txt"),
indoc! {r#"
indoc! {r"
User-Agent:*
Disallow: /
"#},
"},
)
.context("can't write robots.txt")?;

@ -345,8 +345,6 @@ pub fn run(opts: Options) -> Result<()> {
bail!("{gen_init_cpio:?} failed: {output:?}")
}
copy(&initrd_image, "/tmp/initrd.img").context("copy failed")?;
let mut qemu = Command::new(format!("qemu-system-{guest_arch}"));
if let Some(machine) = machine {
qemu.args(["-machine", machine]);

Loading…
Cancel
Save