We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69863a4 commit 6ea51deCopy full SHA for 6ea51de
src/context.rs
@@ -1,5 +1,5 @@
1
use std::ffi::CString;
2
-use std::os::raw::{c_long, c_int};
+use std::os::raw::{c_int, c_long};
3
use std::ptr;
4
5
use crate::key::{RedisKey, RedisKeyWritable};
@@ -57,9 +57,7 @@ impl Context {
57
}
58
59
pub fn is_keys_position_request(&self) -> bool {
60
- let result = unsafe {
61
- raw::RedisModule_IsKeysPositionRequest.unwrap()(self.ctx)
62
- };
+ let result = unsafe { raw::RedisModule_IsKeysPositionRequest.unwrap()(self.ctx) };
63
64
result != 0
65
0 commit comments