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.
1 parent 73a49a6 commit 901faa9Copy full SHA for 901faa9
src/value/value.rs
@@ -28,13 +28,13 @@ use super::OwnedJsObject;
28
/// OwnedJsValue wraps a Javascript value owned by the QuickJs runtime.
29
///
30
/// Guarantees cleanup of resources by dropping the value from the runtime.
31
-///
+///
32
/// **Safety**:
33
34
/// This type is `Send` and `Sync` only for convenience, since [OwnedJsValue](crate::OwnedJsValue)
35
/// itself is just a wrapper around a raw pointer. But any operation on the underlying raw pointer is unsafe.
36
/// Make sure using it in a same thread.
37
38
pub struct OwnedJsValue {
39
context: *mut q::JSContext,
40
// FIXME: make private again, just for testing
0 commit comments