summaryrefslogtreecommitdiffstats
path: root/src/launcher/rules.rs
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2025-01-31 02:32:19 -0600
committerLibravatar bigfoot547 <[email protected]>2025-01-31 02:32:19 -0600
commitcdeee17c2be5b8b9a333b977b3e2d373b94dfe0a (patch)
tree58ec48b5bfa9afe03ebbd9716f1f90841af914e9 /src/launcher/rules.rs
parentRemove some unused imports but not all of them (diff)
do clippy stuff and change line endings
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()
}
}