nak: replace .get(0) with .first()

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38807>
This commit is contained in:
Eric Engestrom 2025-12-04 17:08:01 +01:00
parent 124fe82762
commit 9cfb4b1fdb

View file

@ -9756,7 +9756,7 @@ impl Shader<'_> {
assert!(self.functions.len() == 1);
vertex_info.isbe_space_sharing_enable =
can_isbe_space_sharing_be_enabled(
self.functions.get(0).unwrap(),
self.functions.first().unwrap(),
);
}
}