From 33dbcb765dfe2c29eb34dc38ff77af58a474d1bd Mon Sep 17 00:00:00 2001 From: Robert Straw Date: Mon, 24 Feb 2014 10:12:12 -0600 Subject: [PATCH] `HashMap` has moved to `collections` instead of `std` --- src/sdl2/keyboard.rs | 2 +- src/sdl2/lib.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sdl2/keyboard.rs b/src/sdl2/keyboard.rs index a8d652e9..9d220840 100644 --- a/src/sdl2/keyboard.rs +++ b/src/sdl2/keyboard.rs @@ -1,4 +1,4 @@ -use std::hashmap::HashMap; +use collections::hashmap::HashMap; use std::num::FromPrimitive; use std::ptr; use std::str; diff --git a/src/sdl2/lib.rs b/src/sdl2/lib.rs index 6eeb4395..2e88532d 100644 --- a/src/sdl2/lib.rs +++ b/src/sdl2/lib.rs @@ -6,6 +6,8 @@ #[feature(globs)]; +extern crate collections; + pub use sdl::*; #[path = "generated/keycode.rs"] pub mod keycode;