From 9ec3f88a38e074cdaf5db39d7221c254a8d957f8 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 3 Mar 2026 00:24:25 +0100 Subject: Silence compiler warning --- oryxc/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'oryxc') diff --git a/oryxc/src/main.rs b/oryxc/src/main.rs index c833e6d..1b5577f 100644 --- a/oryxc/src/main.rs +++ b/oryxc/src/main.rs @@ -41,7 +41,7 @@ impl Flags { Short('s') | Long("error-style") => { /* TODO: Check for error (user could pass the flag twice) */ /* TODO: Don’t unwrap */ - errors::ERROR_STYLE.set( + let _ = errors::ERROR_STYLE.set( match parser.value()?.to_str().unwrap() { "oneline" => errors::ErrorStyle::OneLine, "standard" => errors::ErrorStyle::Standard, -- cgit v1.2.3