From 1782b86d68ec923df965386acd98f80ef6bcaa46 Mon Sep 17 00:00:00 2001 From: bigfoot547 Date: Mon, 20 Jan 2025 00:53:39 -0600 Subject: get rid of wacky closure business --- src/launcher/rules.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/launcher/rules.rs') 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; -- cgit v1.2.3-70-g09d2