Closed underfin closed 7 months ago
The *const u8 is !Send, here already using Mutex to make sure the ptr is thread-safe, so add SourceViewLinePtr struct to let it implement Send + Sync.
*const u8
!Send
Mutex
SourceViewLinePtr
Send
Sync
@Swatinem Thanks for your review, I already fixed it.
@Swatinem Could you publish a new version for it? Thank you a lot.
Done. Though I somehow messed up the commit message when merging, on well.
The
*const u8
is!Send
, here already usingMutex
to make sure the ptr is thread-safe, so addSourceViewLinePtr
struct to let it implementSend
+Sync
.