From 78ec52aa4569d31f0ef7ecd77c9338f6d76b70b1 Mon Sep 17 00:00:00 2001 From: Phil Cummins Date: Wed, 4 Dec 2024 13:38:07 +0100 Subject: [PATCH] formatting --- src/link.rs | 2 +- src/prelink.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/link.rs b/src/link.rs index 308322a..b2286a0 100644 --- a/src/link.rs +++ b/src/link.rs @@ -26,5 +26,5 @@ pub fn link_libraries(libraries: &[Library]) -> Result> { ))))?, )?; - return linker.encode().map_err(|e| anyhow::anyhow!(e)); + linker.encode().map_err(|e| anyhow::anyhow!(e)) } diff --git a/src/prelink.rs b/src/prelink.rs index 4470678..5a6df15 100644 --- a/src/prelink.rs +++ b/src/prelink.rs @@ -3,7 +3,7 @@ use std::{ collections::{HashMap, HashSet}, fs::{self}, - io::{self, Cursor}, + io::Cursor, ops::Deref, path::{Path, PathBuf}, };