diff --git a/.taplo.toml b/.taplo.toml index 5f3f5e1a0..ee888fa80 100644 --- a/.taplo.toml +++ b/.taplo.toml @@ -1,3 +1,4 @@ +exclude = ["target/*"] [formatting] array_auto_collapse = false array_auto_expand = false diff --git a/pallets/manta-pay/src/lib.rs b/pallets/manta-pay/src/lib.rs index d4de6298e..ebecaec6c 100644 --- a/pallets/manta-pay/src/lib.rs +++ b/pallets/manta-pay/src/lib.rs @@ -894,7 +894,7 @@ where &proof, ) .ok()? - .then(move || (Wrap(()), event)) + .then_some((Wrap(()), event)) } #[inline]