aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-09-02 01:49:23 +0000
committerBlaž Hrastnik2021-09-06 06:25:46 +0000
commit10b690b5bd5d3e9ee477782ebfe3f6ff8d11cb3f (patch)
tree27abd8715064e7d9bb73a989a63d7cbb8d4e52f1 /helix-term
parent800d79b584cd09020488b8a614e5214b929d8f5d (diff)
Drop some &mut bounds where & would have sufficed
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/job.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/job.rs b/helix-term/src/job.rs
index 2ac41926..4fa38174 100644
--- a/helix-term/src/job.rs
+++ b/helix-term/src/job.rs
@@ -61,7 +61,7 @@ impl Jobs {
}
pub fn handle_callback(
- &mut self,
+ &self,
editor: &mut Editor,
compositor: &mut Compositor,
call: anyhow::Result<Option<Callback>>,
@@ -84,7 +84,7 @@ impl Jobs {
}
}
- pub fn add(&mut self, j: Job) {
+ pub fn add(&self, j: Job) {
if j.wait {
self.wait_futures.push(j.future);
} else {