From de7d3cdbda667d947d5ce085d7956f6852ec0e53 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Thu, 4 Dec 2025 17:15:39 +0100 Subject: [PATCH] nak: drop "unneeded `return` statement" Part-of: --- src/nouveau/compiler/nak/union_find.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {