From 00e1c320baa42340e026b0ba364fda11e1a25890 Mon Sep 17 00:00:00 2001 From: Daniel Sanchez Quiros Date: Wed, 5 Oct 2022 18:43:19 +0200 Subject: [PATCH] Stylish space --- waku/src/node/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/waku/src/node/mod.rs b/waku/src/node/mod.rs index 6fed63a..e59d928 100644 --- a/waku/src/node/mod.rs +++ b/waku/src/node/mod.rs @@ -37,6 +37,7 @@ pub struct WakuNodeHandle(PhantomData); /// We do not have any inner state, so the handle should be safe to be send among threads. unsafe impl Send for WakuNodeHandle {} + /// References to the handle are safe to share, as they do not mutate the handle itself and /// operations are performed by the bindings backend, which is supposed to be thread safe. unsafe impl Sync for WakuNodeHandle {}