From a012d260db4ad9a234a2ef29e8c0f7f6ef5f6a4e Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 9 Jul 2026 22:14:40 +0200 Subject: Minor style fixes from an upgraded clippy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- crates/nasm/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/nasm/src') diff --git a/crates/nasm/src/main.rs b/crates/nasm/src/main.rs index 4ec4f59..7160137 100644 --- a/crates/nasm/src/main.rs +++ b/crates/nasm/src/main.rs @@ -295,7 +295,7 @@ fn main() { // Select the input stream and build the source object. let path = Path::new(&args.file); let Ok(input) = File::open(path) else { - die(format!("failed to open the given file '{}'", &args.file)); + die(format!("failed to open the given file '{}'", args.file)); return; }; let source = match path.parent() { -- cgit v1.2.3