From 7c5c8c5241d071a3a99da19c845810eb3c9f934c Mon Sep 17 00:00:00 2001 From: Alex Overchenko Date: Sat, 2 Mar 2024 23:22:39 +0300 Subject: [PATCH] Update backend.rs Fix Rust comments documentation --- core/src/services/redis/backend.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/services/redis/backend.rs b/core/src/services/redis/backend.rs index 77ca74b64c49..14d647f9cab9 100644 --- a/core/src/services/redis/backend.rs +++ b/core/src/services/redis/backend.rs @@ -121,6 +121,7 @@ impl RedisBuilder { /// currently supported schemes: /// - no scheme: will be seen as "tcp" /// - "tcp" or "redis": unsecured redis connections + /// - "rediss": secured redis connections /// - "unix" or "redis+unix": unix socket connection pub fn endpoint(&mut self, endpoint: &str) -> &mut Self { if !endpoint.is_empty() { @@ -130,11 +131,12 @@ impl RedisBuilder { } /// set the network address of redis cluster service. - /// This parameter is mutually exclusive with the endponit parameter. + /// This parameter is mutually exclusive with the endpoint parameter. /// /// currently supported schemes: /// - no scheme: will be seen as "tcp" /// - "tcp" or "redis": unsecured redis connections + /// - "rediss": secured redis connections /// - "unix" or "redis+unix": unix socket connection pub fn cluster_endpoints(&mut self, cluster_endpoints: &str) -> &mut Self { if !cluster_endpoints.is_empty() {