From 5284fcd6d109e33fa985ea13bc3593571a394712 Mon Sep 17 00:00:00 2001 From: pjht Date: Tue, 18 Jun 2024 16:43:19 -0500 Subject: [PATCH] Remove path argument from mount function --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index bc66975..b0b90a9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -10,7 +10,7 @@ struct Serv { } impl fs_rpc::Server for Serv { - fn mount(&self, dev: &std::path::Path, _path: &std::path::Path) -> Result { + fn mount(&self, dev: &std::path::Path) -> Result { let archive = File::open(dev).map_err(|_| ())?; let mut archive = Archive::new(archive); let entries = archive.entries_with_seek().unwrap().map(|entry| {