nak: replace .get(0) with .first()
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38807>
This commit is contained in:
@@ -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(),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user