From f574117eb57fb40d2ef09e0470daf123a0a01b52 Mon Sep 17 00:00:00 2001 From: Yury-Fridlyand Date: Mon, 25 Mar 2024 10:31:51 -0700 Subject: [PATCH] Doc Signed-off-by: Yury-Fridlyand --- java/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/java/src/lib.rs b/java/src/lib.rs index 50ba63e910..f05a5cd406 100644 --- a/java/src/lib.rs +++ b/java/src/lib.rs @@ -111,6 +111,9 @@ pub unsafe extern "system" fn Java_glide_ffi_resolvers_RedisValueResolver_valueF redis_value_to_java(&mut env, *value) } +/// # Safety +/// +/// * Function throws a checked java exception if fails to get the socket path. #[no_mangle] pub unsafe extern "system" fn Java_glide_ffi_resolvers_SocketListenerResolver_startSocketListener< 'local,