UNSAFE: make Completion to be Send + Sync

This commit is contained in:
Nikita Sivukhin
2025-11-10 15:34:36 +04:00
parent d42b5c7bcc
commit f3dc19cb00

View File

@@ -23,6 +23,9 @@ pub struct Completion {
pub(super) inner: Option<Arc<CompletionInner>>,
}
unsafe impl Send for Completion {}
unsafe impl Sync for Completion {}
#[derive(Debug, Default)]
struct ContextInner {
waker: Option<Waker>,