chore: clippy fixes

This commit is contained in:
Michael Aaron Murphy 2024-02-19 13:12:30 +01:00 committed by Michael Murphy
parent 02ff3e6445
commit 644997823e
7 changed files with 29 additions and 44 deletions

View file

@ -129,7 +129,7 @@ pub fn hardware_model(bump: &Bump, hardware_model: &mut String) {
None => name,
};
strcat!(&mut *hardware_model, " " name);
let _str = strcat!(&mut *hardware_model, " " name);
}
let buffer = &mut bumpalo::collections::Vec::new_in(bump);
@ -137,7 +137,7 @@ pub fn hardware_model(bump: &Bump, hardware_model: &mut String) {
version = version.trim();
if !version.is_empty() && !VERSION_IGNORING_PRODUCTS.contains(&name) {
strcat!(hardware_model, " (" version.trim() ")");
let _str = strcat!(hardware_model, " (" version.trim() ")");
}
}
}