Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
flier committed Mar 13, 2019
1 parent 436432f commit 3491793
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ fasthash = "0.4"
### `hash` and `hash_with_seed` function

```rust
extern crate fasthash;

use fasthash::*;

let h = city::hash64("hello world");
Expand Down Expand Up @@ -43,7 +41,8 @@ use std::collections::HashSet;

use fasthash::spooky::SpookyHash128;

let mut set = HashSet::with_hasher(SpookyHash128 {});
let mut set = HashSet::with_hasher(SpookyHash128);

set.insert(2);
```

Expand Down

0 comments on commit 3491793

Please sign in to comment.