Skip to content

Commit

Permalink
Merge pull request #1172 from tomaka/use-instead-of-type
Browse files Browse the repository at this point in the history
Prefer "use Foo as Display;" instead of "type Display = Foo;"
  • Loading branch information
tomaka committed Aug 17, 2015
2 parents 4307591 + 3d71cf1 commit 24cc175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ mod gl {
/// Cloning the display allows you to easily share the `Display` object throughout
/// your program.
#[cfg(feature = "glutin")]
pub type Display = backend::glutin_backend::GlutinFacade;
pub use backend::glutin_backend::GlutinFacade as Display;

/// Trait for objects that describe the capabilities of an OpenGL backend.
pub trait CapabilitiesSource {
Expand Down

0 comments on commit 24cc175

Please sign in to comment.