Prepare for release 0.10.1
This commit is contained in:
Paul Masurel
2019-07-30 13:38:06 +09:00
committed by GitHub
parent c91eb7fba7
commit efd1af1325
8 changed files with 43 additions and 15 deletions

View File

@@ -85,7 +85,10 @@ impl IndexReaderBuilder {
);
}
};
let watch_handle = inner_reader_arc.index.directory().watch(Box::new(callback));
let watch_handle = inner_reader_arc
.index
.directory()
.watch(Box::new(callback))?;
watch_handle_opt = Some(watch_handle);
}
}