Explain runtime invariants and avoid redundant unwraps
This commit is contained in:
1 parent
34f2f07301
commit
1b51ba83b4
116 files changed
+1643
-515
No files matched your search
@@ -844,7 +844,9 @@ impl FereseShell {
|
||||
let body: Element<'_, cosmic::Action<Message>> = match mode {
|
||||
_ if activity.is_some() => self.hub_activity_strip(
|
||||
id,
|
||||
activity.unwrap(),
|
||||
activity.expect(
|
||||
"the activity-specific hub view requires its selected activity",
|
||||
),
|
||||
mode == Mode::Peek,
|
||||
intrinsic,
|
||||
opacity,
|
||||
|
||||
Reference in new issue
Block a user