Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ephraimfeldblum committed Oct 27, 2024
1 parent 622b344 commit 66f2279
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ macro_rules! redis_command {
$acl_categories:expr) => {{
let name = CString::new($command_name).unwrap();
let flags = CString::new($command_flags).unwrap();

/////////////////////
extern "C" fn __do_command(
ctx: *mut $crate::raw::RedisModuleCtx,
argv: *mut *mut $crate::raw::RedisModuleString,
argc: c_int,
) -> c_int {
let context = $crate::Context::new(ctx);

let args = $crate::decode_args(ctx, argv, argc);
let response = $command_handler(&context, args);
context.reply(response.map(|v| v.into())) as c_int
Expand Down

0 comments on commit 66f2279

Please sign in to comment.