diff --git a/src/nouveau/compiler/nak/union_find.rs b/src/nouveau/compiler/nak/union_find.rs index 360c858109e..785f3f1c48a 100644 --- a/src/nouveau/compiler/nak/union_find.rs +++ b/src/nouveau/compiler/nak/union_find.rs @@ -193,7 +193,7 @@ mod tests { } assert_eq!(total_size, self.uf.nodes.len()); assert_eq!(total_size, self.uf.idx_map.len()); - return max_height; + max_height } pub fn check(uf: &'a UnionFind) -> u32 {