-
Notifications
You must be signed in to change notification settings - Fork 303
Issue #297: Implement From<array> on HashSet and HashMap #298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Since we're due for major version bump, could you update the CI and README to point to the latest stable instead of 1.49? |
Okay, I've done that, but now builds are failing with Ahh, it depends on the feature |
@bors r+ |
📌 Commit ba8b56c has been approved by |
☀️ Test successful - checks-actions |
This is what `hashbrown` did recently: rust-lang/hashbrown#298 And it causes CI failures for us. Examples: * sharkdp#2266 * sharkdp#2265 The path of least resistance for us is to also bump MSRV, so let's do that. 1.56.1 was released [9 months ago](https://blog.rust-lang.org/2021/11/01/Rust-1.56.1.html).
This is what `hashbrown` did recently: rust-lang/hashbrown#298 And it causes CI failures for us. Examples: * sharkdp#2266 * sharkdp#2265 The path of least resistance for us is to also bump MSRV, so let's do that. 1.56.1 was released [9 months ago](https://blog.rust-lang.org/2021/11/01/Rust-1.56.1.html).
This is what `hashbrown` did recently: rust-lang/hashbrown#298 And it causes CI failures for us. Examples: * #2266 * #2265 The path of least resistance for us is to also bump MSRV, so let's do that. 1.56.1 was released [9 months ago](https://blog.rust-lang.org/2021/11/01/Rust-1.56.1.html).
Implemented From<[T; N]> on HashSet and From<[(K, V); N]> on HashMap. In both cases, the default hasher was used to match the implementations from the std crate (see https://doc.rust-lang.org/src/std/collections/hash/map.rs.html#1161-1190)
Edition was updated to 2021 to take advantage of the change in array's
.into_iter
method from iterating over&T
to iterating overT
.Hopefully the implementations are trivial enough that tests aren't necessary ;)