Skip to content

Commit

Permalink
Merge pull request #27 from frewsxcv/rfc-1214
Browse files Browse the repository at this point in the history
Fix nightly warnings related to lifetimes
  • Loading branch information
emilio committed Sep 2, 2015
2 parents 9704865 + fc5cf8c commit 41fb6bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#[cfg(feature="texture_surface")]
use layers::platform::surface::NativeDisplay;

pub trait NativeGLContextMethods {
pub trait NativeGLContextMethods: Sized {
fn get_proc_address(&str) -> *const ();

fn create_headless() -> Result<Self, &'static str>;
Expand Down

0 comments on commit 41fb6bf

Please sign in to comment.