Removed some more allowed lints.

This commit is contained in:
Filipe Rodrigues 2023-12-09 11:12:35 +00:00
parent 0014341015
commit 35989fe394
2 changed files with 3 additions and 5 deletions

View File

@ -117,9 +117,6 @@ clippy.pub_without_shorthand = "warn"
# Too many false positives
# TODO: Turn these on once they don't have as many false positives
clippy.significant_drop_in_scrutinee = "allow"
clippy.significant_drop_tightening = "allow"
clippy.tests_outside_test_module = "allow" # Triggers for benches
clippy.multiple_unsafe_ops_per_block = "allow" # Triggers for async?
# Style
clippy.implicit_return = "allow"

View File

@ -296,8 +296,9 @@ impl<'s> Builder<'s> {
// Else build
None => {
let res = self.build_unchecked(&target, &rule, rules, ignore_missing).await;
let res = build_guard.finish(&target, res);
res.map(|res| (res, Some(build_guard.into_dep())))
build_guard
.finish(&target, res)
.map(|res| (res, Some(build_guard.into_dep())))
},
}
},