From 6e663ecd6db8e0905362646fdb04f107df61524e Mon Sep 17 00:00:00 2001 From: andros21 Date: Sun, 11 Feb 2024 14:28:24 +0100 Subject: [PATCH] chore(src/lib.rs): `RandomState` now exported in `std::hash` see https://github.com/rust-lang/rust/releases/tag/1.76.0 see https://github.com/rust-lang/rust/pull/115694/ --- src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 5dd5515..20280a5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,9 +4,8 @@ use gloo_events::EventListener; use gloo_timers::callback::Interval; use serde::Deserialize; -use std::collections::hash_map::RandomState; use std::collections::HashMap; -use std::hash::{BuildHasher, Hasher}; +use std::hash::{BuildHasher, Hasher, RandomState}; use wasm_bindgen::prelude::*; use web_sys::{Document, Element, HtmlAudioElement, HtmlElement, HtmlInputElement};