aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_arena/src/map.rs
Commit message (Collapse)AuthorAgeFilesLines
* Use resize_withkjeremy2020-03-311-2/+1
|
* Do not call reserve since extend will handle it.kjeremy2020-03-301-3/+0
| | | | | `Take` implements `TrustedLen` so we are guaranteed that only one reserve call will be made.
* Use more functional programming in ArenaMap::insertkjeremy2020-03-301-5/+3
| | | | I find this more readable and it flattens out the body a little.
* Simplify Arena to use a generic indexAleksey Kladov2020-03-191-16/+16
|
* reformat the worldAleksey Kladov2019-02-081-8/+2
|
* simplifyAleksey Kladov2019-01-251-0/+4
|
* Introduce ArenaMapFlorian Diebold2019-01-061-0/+70