aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-05-22 12:43:18 +0200
committertomaka <pierre.krieger1708@gmail.com>2015-05-22 12:43:18 +0200
commitc2acd0360ccec809725810b70bb48c1dea461807 (patch)
treeaf3e846105698713aa3824e97befb9d8d932c80d /src/lib.rs
parente5f888e19a0396b62c2e2a776ddc86652792defb (diff)
parentead31e3ef85234b4e2a7b46ae12fc61b813ab0ec (diff)
downloadglutin-c2acd0360ccec809725810b70bb48c1dea461807.tar.gz
glutin-c2acd0360ccec809725810b70bb48c1dea461807.zip
Merge pull request #464 from tomaka/wgl-adjustements
Several WGL cleanups
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 09d48d3..1169513 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -352,7 +352,7 @@ impl<'a> BuilderAttribs<'a> {
}
fn choose_pixel_format<T, I>(&self, iter: I) -> Result<(T, PixelFormat), CreationError>
- where I: Iterator<Item=(T, PixelFormat)>, T: Clone
+ where I: IntoIterator<Item=(T, PixelFormat)>, T: Clone
{
let mut current_result = None;
let mut current_software_result = None;