summaryrefslogtreecommitdiffstats
path: root/src/launcher/rules.rs
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2025-01-20 00:53:39 -0600
committerLibravatar bigfoot547 <[email protected]>2025-01-20 00:53:39 -0600
commit1782b86d68ec923df965386acd98f80ef6bcaa46 (patch)
tree81f9891806e2bf6438f338489ae3a9f2ede23bd3 /src/launcher/rules.rs
parentupdate strsub (diff)
get rid of wacky closure business
Diffstat (limited to 'src/launcher/rules.rs')
-rw-r--r--src/launcher/rules.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/launcher/rules.rs b/src/launcher/rules.rs
index 29da8a2..69c967d 100644
--- a/src/launcher/rules.rs
+++ b/src/launcher/rules.rs
@@ -31,7 +31,7 @@ mod seal {
}
pub trait CompatCheck: seal::CompatCheckInner {
- fn rules_apply<'a>(&'a self, system: &SystemInfo, feature_matcher: impl FeatureMatcher<'a>) -> Result<(), IncompatibleError> {
+ fn rules_apply(&self, system: &SystemInfo, feature_matcher: &impl FeatureMatcher) -> Result<(), IncompatibleError> {
let Some(rules) = self.get_rules() else { return Ok(()) };
let mut action = RuleAction::Disallow;