diff options
author | Benjamin Nguyen <benjamin.van.nguyen@gmail.com> | 2023-06-25 22:37:10 -0700 |
---|---|---|
committer | Benjamin Nguyen <benjamin.van.nguyen@gmail.com> | 2023-06-25 22:37:10 -0700 |
commit | 35be382d7baa035694044e8ec77f97e915806511 (patch) | |
tree | 88b4b32cc56242a5028b5a5d3e069a0e45884606 | |
parent | c0e771f7739fdb45d4ab955d7c2f3409c818eb00 (diff) |
fmt
-rw-r--r-- | src/tree/mod.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tree/mod.rs b/src/tree/mod.rs index 8c0e229..9ce6f4a 100644 --- a/src/tree/mod.rs +++ b/src/tree/mod.rs @@ -439,9 +439,7 @@ impl TryFrom<&Context> for WalkParallel { .threads(ctx.threads); if ctx.suppress_size && ctx.level() == 1 { - builder - .max_depth(Some(1)) - .threads(1); + builder.max_depth(Some(1)).threads(1); } if ctx.pattern.is_some() { |