Skip to content

Commit 547d1cd

Browse files
committed
docs: project description under the title in README
1 parent f893a8b commit 547d1cd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55

66
[Contribution guide](CONTRIBUTING.md) | [Apache v2 license](LICENSE)
77

8-
Enum-centric data structures for Rust.
9-
10-
## Usage
118

129
A map of enum variants to values. EnumMap is a fixed-size map, where each variant of the enum
1310
is mapped to a value. This implementation EnumMap is a a zero-cost abstraction over an array (const-sized), where the index of the array corresponds to the position of the variant in the enum.
@@ -21,6 +18,8 @@ Because it is a thin wrapper over an array, it is stack-allocated by default. Si
2118

2219
Debug and Eq are optional features. They are enabled by default.
2320

21+
## Usage
22+
2423
```rust
2524
use enum_collections::{EnumMap, Enumerated};
2625

0 commit comments

Comments
 (0)