File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -328,7 +328,6 @@ macro_rules! redis_json_module_export_shared_api {
328
328
pre_command_function: $pre_command_function_expr: expr,
329
329
) => {
330
330
use std:: ptr:: NonNull ;
331
- use std:: ffi:: CString ;
332
331
333
332
#[ no_mangle]
334
333
pub extern "C" fn JSONAPI_openKey (
Original file line number Diff line number Diff line change @@ -118,12 +118,12 @@ macro_rules! redis_json_module_create {(
118
118
use std:: marker:: PhantomData ;
119
119
use std:: os:: raw:: { c_double, c_int, c_longlong} ;
120
120
use redis_module:: raw as rawmod;
121
- use redis_module:: logging:: RedisLogLevel ;
122
121
use rawmod:: ModuleOptions ;
123
122
use redis_module:: redis_module;
123
+ use redis_module:: logging:: RedisLogLevel ;
124
124
125
125
use std:: {
126
- ffi:: CStr ,
126
+ ffi:: { CStr , CString } ,
127
127
os:: raw:: { c_char, c_void} ,
128
128
} ;
129
129
use libc:: size_t;
You can’t perform that action at this time.
0 commit comments