clippy
This commit is contained in:
@@ -848,7 +848,7 @@ impl WlxGraphics {
|
||||
|
||||
let file = std::fs::File::from_raw_fd(fd);
|
||||
let new_file = file.try_clone()?;
|
||||
file.into_raw_fd();
|
||||
let _ = file.into_raw_fd();
|
||||
|
||||
let memory = DeviceMemory::allocate_unchecked(
|
||||
self.device.clone(),
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
use std::{rc::Rc, str::FromStr, sync::Arc};
|
||||
|
||||
use fontconfig::{FontConfig, OwnedPattern};
|
||||
use freetype::{
|
||||
bitmap::PixelMode,
|
||||
face::{CharIterator, LoadFlag},
|
||||
Face, Library,
|
||||
};
|
||||
use freetype::{bitmap::PixelMode, face::LoadFlag, Face, Library};
|
||||
use idmap::IdMap;
|
||||
use vulkano::{command_buffer::CommandBufferUsage, format::Format, image::Image};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user