diff options
Diffstat (limited to 'helix-syntax/build.rs')
-rw-r--r-- | helix-syntax/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-syntax/build.rs b/helix-syntax/build.rs index 89641225..b915ebf1 100644 --- a/helix-syntax/build.rs +++ b/helix-syntax/build.rs @@ -133,7 +133,7 @@ fn main() { tx.send(1).unwrap(); }); } - assert_eq!(rx.iter().take(n_jobs).fold(0, |a, b| a + b), n_jobs); + assert_eq!(rx.iter().take(n_jobs).sum::<usize>(), n_jobs); build_dir("tree-sitter-typescript/tsx", "tsx"); build_dir("tree-sitter-typescript/typescript", "typescript"); |