We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Completer
Send
Sync
1 parent e052921 commit a8cc944Copy full SHA for a8cc944
crates/modalkit/src/editing/completion.rs
@@ -23,7 +23,7 @@ use crate::{
23
};
24
25
/// A trait for implementing custom completers for an application.
26
-pub trait Completer<I: ApplicationInfo> {
+pub trait Completer<I: ApplicationInfo>: Send + Sync {
27
/// Complete the word just before [Cursor] inside the [EditRope].
28
///
29
/// When this method returns, the [Cursor] should be updated to point at the
crates/modalkit/src/util.rs
@@ -1,5 +1,3 @@
1
-pub use editor_types::util::*;
2
-
3
use std::borrow::Borrow;
4
use std::cmp::Ordering;
5
use std::ops::Bound;
0 commit comments