From 50c748093e3b544dc88a0cb78bc68e1b57e19b93 Mon Sep 17 00:00:00 2001 From: Ruslan Akbashev Date: Tue, 31 Oct 2023 16:15:58 +0400 Subject: [PATCH] stub: adjust `get_device_path` signature to original --- src/hal/stub/usbboot.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/hal/stub/usbboot.rs b/src/hal/stub/usbboot.rs index 4b082a9..a163e52 100644 --- a/src/hal/stub/usbboot.rs +++ b/src/hal/stub/usbboot.rs @@ -35,8 +35,6 @@ pub(crate) fn extract_one_device(devices: &[T]) -> Result<&T, FwUpdateError> } } -pub async fn get_device_path>( - allowed_vendors: I, -) -> Result { +pub async fn get_device_path(_allowed_vendors: &[&str]) -> Result { Ok(PathBuf::from("/tmp/stubbed")) }