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 2e29e5a commit d16c61cCopy full SHA for d16c61c
examples/hello_redisearch.rs
@@ -1,8 +1,8 @@
1
#[macro_use]
2
extern crate redis_module;
3
4
-use redis_module::{Context, NextArg, RedisResult};
5
-use redisearch_api::{self, Document, FieldType, Index};
+use redis_module::{Context, NextArg, RedisError, RedisResult};
+use redisearch_api::{self, init, Document, FieldType, Index};
6
7
fn hello_redisearch(_: &Context, args: Vec<String>) -> RedisResult {
8
let mut args = args.into_iter().skip(1);
0 commit comments