Skip to content

Commit 334e2ff

Browse files
committed
Cleanups
1 parent 60b21ae commit 334e2ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/hello.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#[macro_use]
22
extern crate redismodule;
33

4-
use std::ffi::CString;
5-
64
use redismodule::{Context, Command, RedisResult, RedisError};
75

86
fn hello_mul(_: &Context, args: Vec<String>) -> RedisResult {

src/macros.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ macro_rules! log_debug {
2525
macro_rules! redis_module (
2626
($module_name:expr, $module_version:expr, $commands:expr) => (
2727
use std::os::raw::c_int;
28+
use std::ffi::CString;
29+
2830
use redismodule::raw;
2931

3032
#[no_mangle]

0 commit comments

Comments
 (0)