nak: fix clippy::clone_on_copy warnings

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27234>
This commit is contained in:
Karol Herbst
2024-01-24 13:23:45 +01:00
committed by Marge Bot
parent e7a059794e
commit cce0a42dcd

View File

@@ -140,7 +140,7 @@ pub trait BlockLiveness {
}
// This is the first high point
let vec_dst_live = live.clone();
let vec_dst_live = live;
// Use a hash set because sources may occur more than once
let mut killed = HashSet::new();