File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1- use std:: cell:: RefCell ;
2-
31// This example shows the usage of the scan functionality of the Rust Redis Module API Wrapper.
42//
53// The example implements three commands:
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ impl RedisKey {
7070 Self { ctx, key_inner }
7171 }
7272
73- pub ( crate ) fn open_with_flags (
73+ pub fn open_with_flags (
7474 ctx : * mut raw:: RedisModuleCtx ,
7575 key : & RedisString ,
7676 flags : KeyFlags ,
@@ -80,7 +80,7 @@ impl RedisKey {
8080 Self { ctx, key_inner }
8181 }
8282
83- pub ( crate ) const fn from_raw_parts (
83+ pub const fn from_raw_parts (
8484 ctx : * mut raw:: RedisModuleCtx ,
8585 key_inner : * mut raw:: RedisModuleKey ,
8686 ) -> Self {
@@ -206,7 +206,7 @@ impl RedisKeyWritable {
206206 Self { ctx, key_inner }
207207 }
208208
209- pub ( crate ) fn open_with_flags (
209+ pub fn open_with_flags (
210210 ctx : * mut raw:: RedisModuleCtx ,
211211 key : & RedisString ,
212212 flags : KeyFlags ,
You can’t perform that action at this time.
0 commit comments