apply some simple clippy lints

This commit is contained in:
auronandace
2025-06-30 17:11:48 +01:00
parent a86aec193d
commit 721d49adfb
3 changed files with 7 additions and 9 deletions
+2 -2
View File
@@ -98,7 +98,7 @@ fn main() {
Ok(data) => {
config.files.push(redox_installer::FileConfig {
path: "pkg/id_ed25519.pub.toml".to_string(),
data: data,
data,
..Default::default()
});
Some(path)
@@ -143,7 +143,7 @@ fn main() {
None
};
if let Some(path) = parser.args.get(0) {
if let Some(path) = parser.args.first() {
if let Err(err) = redox_installer::install(
config,
path,