Skip to content

Commit

Permalink
Merge pull request #795 from aya-rs/clippy
Browse files Browse the repository at this point in the history
appease clippy
  • Loading branch information
tamird authored Sep 27, 2023
2 parents 6720e12 + fe13b2e commit 2f9c67c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions xtask/src/docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")?;

Expand Down
2 changes: 0 additions & 2 deletions xtask/src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 2f9c67c

Please sign in to comment.