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
@@ -336,7 +336,11 @@ impl FereseShell {
|
||||
presentation.rows = rows;
|
||||
continue;
|
||||
}
|
||||
let runtime = output.runtime.hub.as_ref().unwrap();
|
||||
let runtime = output
|
||||
.runtime
|
||||
.hub
|
||||
.as_ref()
|
||||
.expect("this activity action belongs to an output with a Morph hub");
|
||||
let name = self
|
||||
.output_for_bar(output.bar)
|
||||
.map(|output| output.name.as_str())
|
||||
|
||||
Reference in new issue
Block a user