Fix latest clippy warning

This commit is contained in:
marc0246 2024-06-01 15:42:17 +02:00
parent 42e4d0b7c3
commit 978c922e1b
No known key found for this signature in database
GPG Key ID: 689CB88C1090C684

View File

@ -812,7 +812,10 @@ impl PhysicalDevice {
.collect()
};
*self.display_plane_properties.write() = properties_raw.clone();
self.display_plane_properties
.write()
.clone_from(&properties_raw);
Ok(properties_raw)
}