Skip to content

Commit 23aef10

Browse files
committed
Cleanups
1 parent 4144370 commit 23aef10

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/macros.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
#[macro_export]
22
macro_rules! redis_command {
3-
($ctx:expr, $command_name:expr, $command_handler:expr, $command_flags:expr, $firstkey:expr, $lastkey:expr, $keystep:expr) => {{
3+
($ctx:expr,
4+
$command_name:expr,
5+
$command_handler:expr,
6+
$command_flags:expr,
7+
$firstkey:expr,
8+
$lastkey:expr,
9+
$keystep:expr) => {{
410
let name = CString::new($command_name).unwrap();
511
let flags = CString::new($command_flags).unwrap();
612
let firstkey: i32 = $firstkey;

0 commit comments

Comments
 (0)