From 0accda884273216a3f36a26baa4f5a368195e349 Mon Sep 17 00:00:00 2001 From: BelovDV <70999565+BelovDV@users.noreply.github.com> Date: Sun, 12 Mar 2023 15:30:21 +0300 Subject: [PATCH] [temp] fix --- src/unix.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/unix.rs b/src/unix.rs index b61a85c5..7a576a3b 100644 --- a/src/unix.rs +++ b/src/unix.rs @@ -90,9 +90,8 @@ impl Client { pub unsafe fn open(s: &str) -> Result { match (Self::from_fifo(s), Self::from_pipe(s)) { - (Some(result), None) | (None, Some(result)) => result, + (Some(result), _) | (None, Some(result)) => result, (None, None) => Err(ErrFromEnv::ParseEnvVar), - (Some(_), Some(_)) => unreachable!(), } }