summaryrefslogtreecommitdiffstats
path: root/src/launcher/rules.rs
diff options
context:
space:
mode:
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 69c967d..29a36d1 100644
--- a/src/launcher/rules.rs
+++ b/src/launcher/rules.rs
@@ -80,7 +80,7 @@ impl seal::CompatCheckInner for CompleteVersion {
}
fn get_incompatibility_reason(&self) -> Option<&str> {
- self.incompatibility_reason.as_ref().map(|s| s.as_str())
+ self.incompatibility_reason.as_deref()
}
}