From 363530e394504f3c583d4ecbad8e4ce520428c31 Mon Sep 17 00:00:00 2001 From: slonkazoid Date: Wed, 4 Sep 2024 23:31:48 +0300 Subject: [PATCH] oops --- src/device_path.rs | 2 +- src/main.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/device_path.rs b/src/device_path.rs index ce0a0ec..02ac265 100644 --- a/src/device_path.rs +++ b/src/device_path.rs @@ -9,7 +9,7 @@ fn recurse_device_path( mut uuid: Option, mut path: Option, ) -> (Option, Option) { - match dbg!(&a.info) { + match &a.info { DevicePathInfo::HardDrive { partition_signature, signature_type, diff --git a/src/main.rs b/src/main.rs index 3491e17..f3816f2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -14,7 +14,6 @@ use std::path::PathBuf; use clap::Parser; use color_eyre::eyre::{self, Context}; -use drop_ins::FindDropIn; use fallible_iterator::FallibleIterator; use thiserror::Error; use typed_path::{Utf8UnixEncoding, Utf8WindowsPathBuf}; @@ -23,7 +22,7 @@ use uefi_eventlog::EventType; use crate::args::Args; use crate::device_path::traverse_device_path; -use crate::drop_ins::DropIns; +use crate::drop_ins::{DropIns, FindDropIn}; use crate::hash::*; #[derive(Error, Debug)]