chore: reorg

This commit is contained in:
2020-10-17 11:57:26 +08:00
parent 347ea202e1
commit 5e48a69aa0
74 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
use simsearch::SimSearch;
fn main() {
let mut engine: SimSearch<u32> = SimSearch::new();
engine.insert(1, "Things Fall Apart");
engine.insert(2, "The Old Man and the Sea");
engine.insert(3, "James Joyce");
let results: Vec<u32> = engine.search("thngs");
for r in results {
println!("{:?}", r);
}
}