Skip to content

Commit

Permalink
Merge pull request #2100 from est31/fix_cargo_warnings
Browse files Browse the repository at this point in the history
Fix warnings on nightly
  • Loading branch information
est31 committed Feb 21, 2024
2 parents d994f0c + 7980b77 commit e553936
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion examples/manual-creation.rs
Expand Up @@ -17,7 +17,6 @@ There are three concepts in play:
*/

use glium::{self};
use winit::event_loop::EventLoopBuilder;
use winit::window::WindowBuilder;
use glium::Surface;
Expand Down
1 change: 0 additions & 1 deletion examples/screenshot-asynchronous.rs
Expand Up @@ -12,7 +12,6 @@ use winit::keyboard::{PhysicalKey, KeyCode};
mod screenshot {
use glium::Surface;
use std::collections::VecDeque;
use std::vec::Vec;
use std::borrow::Cow;

// Container that holds image data as vector of (u8, u8, u8, u8).
Expand Down
2 changes: 1 addition & 1 deletion examples/support/mod.rs
@@ -1,6 +1,6 @@
#![allow(dead_code)]
use std::num::NonZeroU32;
use glium::{self, Display};
use glium::Display;
use glutin::prelude::*;
use glutin::display::GetGlDisplay;
use glutin::surface::WindowSurface;
Expand Down
2 changes: 1 addition & 1 deletion tests/support/mod.rs
Expand Up @@ -5,7 +5,7 @@ Test supports module.

#![allow(dead_code)]

use glium::{self, Display};
use glium::Display;
use glium::backend::Facade;
use glium::index::PrimitiveType;

Expand Down

0 comments on commit e553936

Please sign in to comment.