diff options
Diffstat (limited to 'examples/multiple_producer.rs')
-rw-r--r-- | examples/multiple_producer.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/multiple_producer.rs b/examples/multiple_producer.rs index 912c431..6841cf8 100644 --- a/examples/multiple_producer.rs +++ b/examples/multiple_producer.rs @@ -25,14 +25,11 @@ // --- // Importing tantivy... -#[macro_use] -extern crate tantivy; use std::sync::{Arc, RwLock}; use std::thread; use std::time::Duration; use tantivy::schema::{Schema, STORED, TEXT}; -use tantivy::Opstamp; -use tantivy::{Index, IndexWriter}; +use tantivy::{doc, Index, IndexWriter, Opstamp}; fn main() -> tantivy::Result<()> { // # Defining the schema |