From 32555c3843bd83fb42cddd5692468f070397cb0f Mon Sep 17 00:00:00 2001 From: Bruno Lara Tavares Date: Tue, 19 Jan 2016 14:42:58 -0200 Subject: [PATCH] Include needed modules on the example code The example code on `README.md` requires the `use` line to have the modules available when compiling. Without it the example can't compile. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 41f70b6..3880c1e 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,8 @@ Example ```rust extern crate minifb; +use minifb::{Key, Scale}; + const WIDTH: usize = 640; const HEIGHT: usize = 360;