summaryrefslogtreecommitdiff
path: root/helix-term/src/application.rs
diff options
context:
space:
mode:
authorSkyler Hawthorne2022-09-03 03:38:38 +0000
committerSkyler Hawthorne2022-10-19 02:31:39 +0000
commitb530a86d1f15cc7df0e1ae8aa4bd02109ac33a8f (patch)
treea2dce789418ecc463490a98ee90a4da3631a076f /helix-term/src/application.rs
parentb3fc31a211293f48696d26855781577d1859c2c6 (diff)
remove Callback::Compositor variant
To reduce likelihood of accidental discarding of important callbacks
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r--helix-term/src/application.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index 60610c1d..fe53d73d 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -991,7 +991,7 @@ impl Application {
let mut result = match self
.jobs
- .finish(Some(&mut self.editor), Some(&mut self.compositor))
+ .finish(&mut self.editor, Some(&mut self.compositor))
.await
{
Ok(_) => Ok(()),