Skip to content

Commit

Permalink
Add simple usage code
Browse files Browse the repository at this point in the history
Show  simple usage code for rust newbies like me
  • Loading branch information
josephrocca committed Jun 8, 2019
1 parent b240ee0 commit 80dc544
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -65,6 +65,13 @@ Add this to your `Cargo.toml`:
hashbrown = "0.4"
```

Then:

```rs
use hashbrown::HashMap;
let mut map = HashMap::new();
```

This crate has the following Cargo features:

- `nightly`: Enables nightly-only features: `no_std` support and `#[may_dangle]`.
Expand Down

0 comments on commit 80dc544

Please sign in to comment.