Fix Clippy lints & GitHub Action improvements (#74)

* ci: improve

- run on all branches to test things
- no cargo color, it destroys actions-rs/cargo features
- update versions

* refactor(lint): fix clippy issues

* refactor(lint): fix more clippy issues
This commit is contained in:
EdJoPaTo
2021-11-14 18:59:56 +01:00
committed by Philip Mueller
parent a6984b0b84
commit dc127ed87a
8 changed files with 17 additions and 24 deletions

View File

@@ -20,7 +20,7 @@ pub fn mount<'a>(
info!("Mounting filesystems to {}", mount_path.display());
mount_stack
.mount(&root_filesystem, mount_path.into(), None)
.mount(root_filesystem, mount_path.into(), None)
.with_context(|| format!("Error mounting filesystem to {}", mount_path.display()))?;
let boot_point = mount_path.join("boot");
@@ -29,7 +29,7 @@ pub fn mount<'a>(
}
mount_stack
.mount(&boot_filesystem, boot_point, None)
.mount(boot_filesystem, boot_point, None)
.context("Error mounting the boot point")?;
Ok(mount_stack)