Skip to content

Commit d16c61c

Browse files
committed
fix example build
1 parent 2e29e5a commit d16c61c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/hello_redisearch.rs

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

4-
use redis_module::{Context, NextArg, RedisResult};
5-
use redisearch_api::{self, Document, FieldType, Index};
4+
use redis_module::{Context, NextArg, RedisError, RedisResult};
5+
use redisearch_api::{self, init, Document, FieldType, Index};
66

77
fn hello_redisearch(_: &Context, args: Vec<String>) -> RedisResult {
88
let mut args = args.into_iter().skip(1);

0 commit comments

Comments
 (0)