Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
galister committed Nov 4, 2024
1 parent 9da1c50 commit ced7532
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/graphics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
6 changes: 1 addition & 5 deletions src/gui/font.rs
Original file line number Diff line number Diff line change
@@ -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};

Expand Down

0 comments on commit ced7532

Please sign in to comment.