mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-14 21:54:23 +01:00
UNSAFE: make Completion to be Send + Sync
This commit is contained in:
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user