fix: resolve Clippy warnings across all workspace targets

This commit is contained in:
2026-10-08 08:41:20 +01:00
parent 8381800fce
commit 61cf41f088
15 changed files with 72 additions and 82 deletions
@@ -153,15 +153,17 @@ impl VirtualMachine {
let mut owners = [None, None];
for value in &values {
if let Value::String(content) = value {
if let Some(image) = &self.validated_image {
if owners[0].is_none() && image.retains_string(content) {
owners[0] = Some(image.string_retention());
}
if let Some(image) = &self.validated_image
&& owners[0].is_none()
&& image.retains_string(content)
{
owners[0] = Some(image.string_retention());
}
if let Some(strings) = &self.strings {
if owners[1].is_none() && strings.retains(content) {
owners[1] = Some(strings.retention());
}
if let Some(strings) = &self.strings
&& owners[1].is_none()
&& strings.retains(content)
{
owners[1] = Some(strings.retention());
}
}
}