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
@@ -102,7 +102,11 @@ pub(super) fn capture_mirror(
|
||||
continue;
|
||||
};
|
||||
let element = super::mirror::fitted_texture(
|
||||
output.mirror_capture_texture.as_ref().unwrap().clone(),
|
||||
output
|
||||
.mirror_capture_texture
|
||||
.as_ref()
|
||||
.expect("successful mirror composition populated its capture texture")
|
||||
.clone(),
|
||||
&output.output,
|
||||
smithay::backend::renderer::element::Id::new(),
|
||||
Default::default(),
|
||||
|
||||
Reference in new issue
Block a user