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