aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2015-01-03 23:11:59 +0100
committerPierre Krieger <pierre.krieger1708@gmail.com>2015-01-03 23:15:39 +0100
commit4c5e430dd3fcd38c29bfbc20dc0cc65defd33224 (patch)
tree438ed8c0ce41fa513e92a4dd0696bf4114df38fa /src/lib.rs
parentebe32bb2d803bc22c4b309acbbd48f3dc2a12127 (diff)
downloadglutin-4c5e430dd3fcd38c29bfbc20dc0cc65defd33224.tar.gz
glutin-4c5e430dd3fcd38c29bfbc20dc0cc65defd33224.zip
Update for Rustc
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 3c780a0..49bd078 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -68,7 +68,7 @@ mod events;
pub struct MonitorID(winimpl::MonitorID);
/// Error that can happen while creating a window or a headless renderer.
-#[deriving(Clone, Show, PartialEq, Eq)]
+#[derive(Clone, Show, PartialEq, Eq)]
pub enum CreationError {
OsError(String),
NotSupported,
@@ -84,7 +84,7 @@ impl std::error::Error for CreationError {
}
/// All APIs related to OpenGL that you can possibly get while using glutin.
-#[deriving(Show, Clone, Copy, PartialEq, Eq)]
+#[derive(Show, Clone, Copy, PartialEq, Eq)]
pub enum Api {
/// The classical OpenGL. Available on Windows, Linux, OS/X.
OpenGl,
@@ -575,7 +575,7 @@ impl gl_common::GlFunctionsSource for Window {
/// threads.
///
#[cfg(feature = "window")]
-#[deriving(Clone)]
+#[derive(Clone)]
pub struct WindowProxy {
proxy: winimpl::WindowProxy,
}