From 0be7b072f0ed2ea9dca43f25d63e42c50de1ae5c Mon Sep 17 00:00:00 2001 From: York Xiang Date: Thu, 19 Mar 2015 18:06:50 +0800 Subject: [PATCH] Update for latest Rust --- src/window.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/window.rs b/src/window.rs index 56af4942..678321ee 100644 --- a/src/window.rs +++ b/src/window.rs @@ -97,7 +97,6 @@ impl<'a> WindowBuilder<'a> { /// /// Will panic if `samples` is not a power of two. pub fn with_multisampling(mut self, samples: u16) -> WindowBuilder<'a> { - use std::num::UnsignedInt; assert!(samples.is_power_of_two()); self.attribs.multisampling = Some(samples); self