Skip to content

Commit

Permalink
Auto merge of #87 - josephrocca:patch-1, r=Amanieu
Browse files Browse the repository at this point in the history
Add simple usage code

Show  simple usage code for rust newbies like me
  • Loading branch information
bors committed Jun 8, 2019
2 parents b240ee0 + 80dc544 commit 14bb115
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
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 14bb115

Please sign in to comment.