Commit graph

18 commits

Author SHA1 Message Date
Gwilym Inzani 68e68386a1 Improve implementation of next 2023-05-09 21:44:14 +01:00
Gwilym Inzani 9205ba1d0d Simplify get_mut implementation 2023-05-09 21:37:52 +01:00
Gwilym Inzani 917163f88b Key value ref unchecked 2023-05-09 21:37:20 +01:00
Gwilym Inzani dc8589479e We know the location is correct here 2023-05-09 21:34:16 +01:00
Gwilym Inzani 4d4ca80004 Add a bit of unsafe in the entry API 2023-05-09 21:33:20 +01:00
Gwilym Inzani 6f1f7811e2 Copy standard library tests 2023-05-09 21:12:28 +01:00
Gwilym Inzani f34f42ab4c Implement debug 2023-05-09 21:12:22 +01:00
Gwilym Inzani e9f6120b4c Implement Eq and PartialEq 2023-05-09 21:09:44 +01:00
Gwilym Inzani 5decb42cf0 Implement clone for hashmap 2023-05-09 21:05:00 +01:00
Gwilym Inzani 1cdf23683a Extract node_storage as well 2023-05-09 20:57:33 +01:00
Gwilym Inzani 5e04e8c03f Extract node module 2023-05-09 20:43:23 +01:00
Gwilym Inzani 4cace7b01d Also for remove 2023-04-23 18:45:39 +01:00
Gwilym Inzani 11b98eab29 Give index and get_mut the Borrow treatment 2023-04-23 18:44:03 +01:00
Gwilym Inzani 39edc4ab36 Also do Borrow shenanigans for get and get_key_value 2023-04-23 18:40:13 +01:00
Gwilym Inzani 150b1a3078 Add documentation example and add Borrow stuff for easier contains_key 2023-04-23 18:37:30 +01:00
Gwilym Inzani 69687aa519 Import all the denys from the main crate 2023-04-23 17:58:45 +01:00
Gwilym Inzani 4ade408d30 Avoid the really slow test under miri 2023-04-23 17:43:30 +01:00
Gwilym Inzani d80e3f876e Extract agb hashmap to its own crate 2023-04-23 17:39:00 +01:00
Renamed from agb/src/hash_map.rs (Browse further)