aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/compositor.rs
diff options
context:
space:
mode:
authorPascal Kuthe2023-02-09 02:24:31 +0000
committerGitHub2023-02-09 02:24:31 +0000
commite474779c8729c36335b76badc98d8211829122d2 (patch)
tree8543a76fca8dfcfe6988e195c6af01b431da3af7 /helix-term/src/compositor.rs
parentbd14f5a72cec6932cf1792d62e420349eaec60db (diff)
bump msrv to 1.63 (#5570)
* bump msrv to 1.63 * resolve new complex type clippy lints
Diffstat (limited to 'helix-term/src/compositor.rs')
-rw-r--r--helix-term/src/compositor.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/compositor.rs b/helix-term/src/compositor.rs
index 2e4a2e20..bcb3e449 100644
--- a/helix-term/src/compositor.rs
+++ b/helix-term/src/compositor.rs
@@ -7,6 +7,7 @@ use helix_view::graphics::{CursorKind, Rect};
use tui::buffer::Buffer as Surface;
pub type Callback = Box<dyn FnOnce(&mut Compositor, &mut Context)>;
+pub type SyncCallback = Box<dyn FnOnce(&mut Compositor, &mut Context) + Sync>;
// Cursive-inspired
pub enum EventResult {